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 #604850] 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
Previous Topic:resolution:=optional or optional=true
Next Topic:How to detect headless failure
Goto Forum:
  


Current Time: Thu Apr 25 14:04:40 GMT 2024

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

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

Back to the top