BundleObjects is an internal LucidJ library used for lightweight service injection and to tie lifecycle of objects to their parent bundle, helping to avoid zombie objects.
-
Java Development Kit 8 or later
-
Ant (minimun Ant 1.8.0)
TODO: Add instructions for building.
To build all subprojects at once, just type ant on project root.
By default, Ant will download and cache all needed tools, then invoke the build-all target. The output of all builds will be located in dist/ directory beneath every subproject. Karaf stage, will be built by default, so all bundles will be deployed into Karaf. If you change the stage to Felix (changing the stage target to Felix all bundles will
For details on building the code, see ant -p.
These are the available targets:
-
ant build-all: builds all available subprojects; -
ant clean: removes thebuildanddistdirectories; -
ant zero: same asclean, but also removes thecachedirectory with all downloaded tools; -
ant configure: rebuild the library and tools cache.
If you need further information, please refer to the following resources:
-
OSGi in Practice: Free, Creative Commons-licensed book on OSGi by Neil Bartlett.
-
Tutorial Archive from OSGi Alliance: Lots of great articles and resources.
-
BND Tools: The standard OSGi tool to build artifacts.
-
OSGi Specifications: All OSGi specifications available from OSGi Alliance.
-
OSGi Release 5 Javadoc: Browse online the javadocs for OSGi R5 APIs.
This work is licensed under a Apache License, Version 2.0.