Web Start and Bundle-Classpath [message #691069] |
Thu, 30 June 2011 12:22  |
Eclipse User |
|
|
|
I have an RCP app being delivered using Web Start.
I have a few jars in my application jar, referenced using the Bundle-classpath entry in manifest.
This works fine when launching the application from Eclipse. But when I distribute in Web Start, using the org.eclipse.equinox.launcher.WebStartMain class, the application won't load. The error is that my IApplication implementation class is not found. If I take the Bundle-classpath entries out of the manifest, my IApplication implementation is loaded, and I, of course, get classnotfound errors with the classes referenced in jars referenced in my plugin.
Is this a bug?
Search terms Webstart, JWS
|
|
|
|
Re: Web Start and Bundle-Classpath [message #691568 is a reply to message #691109] |
Fri, 01 July 2011 14:22  |
Eclipse User |
|
|
|
I have a bundle, foo, delivered as foo.jar.
Inside foo.jar, I am including three jars, bar.jar, bar1.jar and bar2.jar, all in a directory called lib.
Bundle-ClassPath: lib/bar.jar,
lib/bar1.jar,
lib/bar2.jar
Interestingly, this worked when I was using Eclipse 3.2.2 and its Web Start launcher. I modeled this after the way that org.apache.xerces.2.8.0.x.jar was build. Now, in Helio, org.apache.xerces.2.9.0.jar is distributed differently. Instead of including jars in the jar, the apache classes are directly in the root of the rg.apache.xerces.2.9.0.jar file.
|
|
|
Powered by
FUDForum. Page generated in 0.05549 seconds