resolution:=optional or optional=true [message #604850] |
Tue, 02 March 2010 10:09 |
Niels Bech Nielsen 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
|
|
|
Powered by
FUDForum. Page generated in 0.02721 seconds