guptasuresh2004 / osgi-in-action

Automatically exported from code.google.com/p/osgi-in-action
Apache License 2.0
0 stars 0 forks source link

OSGi in Action source code examples

Requirements:

Java SDK (1.5 or later http://java.sun.com/javase/downloads/index.jsp) Apache Ant (1.7 or later http://ant.apache.org/bindownload.cgi)

Contents:

chapter01

Building:

To build all the examples, just type "ant" from the top directory.

Running:

A few examples are packaged as normal Java applications, to run these type

java -jar main.jar

Most examples are packaged as collections of OSGi bundles, to run these type

java -jar launcher.jar bundles

The source for the basic OSGi launcher can be found in the "launcher" directory.

Additional Ant targets:

ant clean - remove all compiled/cached files

ant wipe - remove all generated content

ant dist - build examples (this is the default target)

ant pde - generate Eclipse/PDE project files

Please raise any questions or issues at http://code.google.com/p/osgi-in-action/