2011年3月17日 星期四

How to create your own repository.xml for bundles.

0. download bindex.jar from http://www.osgi.org/Repository/BIndex to orb/
1. put all your bundles to bundles/ (where you want to release for download, such as http://xxx.xxx.xxx/orb/bundles/).
2. cd to orb/ and type java -jar bindex.jar bundles/*.jar
3. repostory.xml will be generated under the same directory (where is orb).

Now you can add this repository location to sling service using web console-> OSGi Repository.

沒有留言:

張貼留言