Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » resolution:=optional or optional=true
resolution:=optional or optional=true [message #517840] Tue, 02 March 2010 10:09
Niels Bech Nielsen is currently offline Niels Bech NielsenFriend
Messages: 16
Registered: July 2009
Junior Member
Had a headless build, that failed to resolve a dependency.

When I located the exact problem, I found an Import-Package, having an optional attribute:

Import-Package: junit.framework;optional=true

However, equinox refused to resolve without having a junit in the platform. I was confused, as I thought it disregarded an optional attribute. I then investigated other plugins, and found that they had

Import-Package: junit.framework;resolution:=optional

And with that it worked fine. Both were AFAIK created with the pde tools, but could be either 3.4 or 3.5.

At a brief glance I cannot find anything authoritative about the approach. Any experts willing to provide some illumination in this area?

Regards

[Updated on: Tue, 02 March 2010 10:10]

Report message to a moderator

Previous Topic:controlling and managing a plugin
Next Topic:resolution:=optional or optional=true
Goto Forum:
  


Current Time: Fri Apr 26 01:18:29 GMT 2024

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

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

Back to the top