Wednesday, March 4, 2009

Bnd tool for converting jars into bundles OSGi

This provides a easy way of converting jars into bundles.This does a brute force check and writes every package present in the jar as export and all imports in the java files inot manifest imports.

The command to convert jar into bundle is

java -jar bnd.jar wrap xxx.jar

Its better to check in the Spring Repository for the available bundle before converting it from a a jar to bundle.

http://www.springsource.com/repository/app/

Ref :

http://www.aqute.biz/Code/Bnd

http://blog.springsource.com/2008/02/18/creating-osgi-bundles/

No comments:

 
Free Domain Names @ .co.nr!