Showing posts with label Bnd. Show all posts
Showing posts with label Bnd. Show all posts

Wednesday, April 8, 2009

Another Bundling tool - Bundlor

This is alternative to BND which can be used to build bundles.

This tool has much more provisions , than bundlor and is provided by spring .It scans much more than just the java class file, including spring configuration files and also has support for hibernate annotations.

It also helps to add exceptions during building the bundle by using a template file.

Ref:

http://www.springsource.org/bundlor

http://blog.springsource.com/2009/03/20/getting-started-with-bundlor/

Wednesday, March 4, 2009

Error when converting struts jar into bundle with Bnd

I did face errors when converting struts jar into bundles using bnd tool.

The problem was the name of the package:

...i18n.calendar.nls.pt-br;resolution:=opti...

The package pt-br contains a - sign. According to the Java spec, this is not a package name. The OSGi specification does therefore not allow you to export a package that includes a - sign.

Once i removed these packages from the manifest file , it worked fine .

 
Free Domain Names @ .co.nr!