Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » Bundle-ClassPath header not recognized by tool(STS 3.5.1 does not recognize Bundle-ClassPath header)
Bundle-ClassPath header not recognized by tool [message #651639] Tue, 01 February 2011 01:08 Go to next message
Akara Sucharitakul is currently offline Akara SucharitakulFriend
Messages: 8
Registered: January 2011
Junior Member
I am trying to use a super-bundle - a bundle of many jars - in the Virgo tooling in STS 2.5.1. The Bundle-ClassPath manifest entries are correctly reflecting those jars inside the bundle. I can see the bundle in the classpath container. When looking into those bundles, I can see the packaged jars but not the classes themselves. Any references to those classes cannot be resolved by eclipse.

Is the Bundle-ClassPath manifest header supported in Virgo and in the tooling? Thank you very much.
Re: Bundle-ClassPath header not recognized by tool [message #651640 is a reply to message #651639] Tue, 01 February 2011 01:22 Go to previous messageGo to next message
Dmitry Sklyut is currently offline Dmitry SklyutFriend
Messages: 276
Registered: January 2010
Senior Member
Can you include your manifest for super-bundle?

Are you exporting any packages from your bundle? Just specifying Bundle-ClassPath will only make classes available to that "super-bundle" not to anyone.

Regards,
Dmitry
Re: Bundle-ClassPath header not recognized by tool [message #652200 is a reply to message #651640] Thu, 03 February 2011 02:34 Go to previous message
Akara Sucharitakul is currently offline Akara SucharitakulFriend
Messages: 8
Registered: January 2011
Junior Member
Sorry for the delay. Had to derive a simple test case. Here's the content of the manifest:

Manifest-Version: 1.0
Export-Package: com.ebay.test
Bundle-Vendor: ebay
Bundle-ClassPath: .,lib/testjavaproject.jar
Bundle-Version: 1.0.0
Bundle-Name: Test
Bundle-ManifestVersion: 2
Bundle-SymbolicName: com.ebay.Test

Created a simple bundle project that uses com.ebay.test and the package cannot be resolved when referenced inside the Eclipse editor. Thanks.
Previous Topic:java.lang.OutOfMemoryError on virgo
Next Topic:Getting NullPointerException when forwarding to a JSP in a snap bundle
Goto Forum:
  


Current Time: Sat Nov 29 07:57:34 GMT 2014

Powered by FUDForum. Page generated in 0.03107 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software