Hi Cristian,

If you're happy using maven then you can either use my scripts
at http://wiki.ops4j.org/confluence/display/ops4j/Pax+Construct
to quickly wrap jars (uses the maven-bundle-plugin underneath).

Or, you can use the maven-bundle-plugin directly by using the
'bundleall' goal to wrap all transitive dependencies, or the 'wrap'
goal to just wrap the main dependency.

Alternatively, if you don't want to use maven then Peter Kriens'
BND tool (which is the engine under the maven-bundle-plugin)
can also be used from the command line, or as an ant task.

For example, to wrap an existing jar:

   java -jar bnd.jar wrap -output myOSGi.jar myPlain.jar

see http://www.aqute.biz/Code/Bnd for a lot more details.

On 15/05/07, Cristian Pascu <[EMAIL PROTECTED]> wrote:
Hi all!

Is it possible to create OSGi bundles from third party jars on the fly
and copy them into a specified directory (the equinox target platform)?

Thank you very much!

Cristian



--
Cheers, Stuart

Reply via email to