Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » PDE Build version problem(I use eclipse PDE to build a set of plugins. I get a InvocationTargetException while executing the code)
PDE Build version problem [message #531609] Wed, 05 May 2010 14:43
Hariharan L Narayanan is currently offline Hariharan L NarayananFriend
Messages: 2
Registered: July 2009
Junior Member
I have a few plugins in my cvs and I have removed the version dependency for those plugins. ie if my plugin name is and it is dependent on com.foo1, the Manifest.MF of will contain

Require-Bundle: com.foo1
and no bundle-version dependency will be specified on the com.foo1 plugin.

but once it is in the build the Manifest gets changed to

Require-Bundle: com.foo1;bundle-version="[1.0.0, 2.0.0)"
which gives an exception in the runtime when i invoke the code.

the exception is

Caused by: org.osgi.framework.BundleException: The bundle could not be resolved.
Reason: Missing Constraint: Require-Bundle: com.foo1; bundle-version="[1.0.0, 2.0.0)"

So is there any way to restrict the PDE from adding the version dependency in the Manifest files? Or is there any other solution to this problem?

Please help. Awaiting a response ASAP. Thanks in advance
Previous Topic:JVM crashes while executing native code (DLL)
Next Topic:Tutorial for creating custom "Run Configuration"
Goto Forum:

Current Time: Thu Apr 26 21:16:00 GMT 2018

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

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