Central repository to keep base configure.xml
and all its shameful trickery.
TODO: Describe it before Sun goes nova.
These are the available targets:
-
ant build-stage
: build the stage with Apache Karaf ready to run the examples -
ant build-all
: builds all available subprojects; -
ant clean
: removes thebuild
anddist
directories; -
ant zero
: same asclean
, but also removes thecache
directory with all downloaded tools; -
ant configure
: rebuild the library and tools cache.
Important directories to be aware of:
-
cache
- stores the downloaded jars, custom tasks and other tools; -
stage
- the local Apache Karaf installation built to test the subprojects.
Although these references are almost everywhere, they are important here because we’re heavily OSGi-oriented.
Be aware that you can find a lot more features to build OSGi projects on BND Tools.
Marcond’s notes: Unfortunatelly I’m still not prepared to deal with my addiction to Ant, that’s why it’s used. There are no religious issues here :)
-
BND Tools: The standard OSGi tool to build artifacts.
-
OSGi in Practice: Free, Creative Commons-licensed book on OSGi by Neil Bartlett.
-
Tutorial Archive from OSGi Alliance: Lots of great articles and resources.
-
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.