Hello,
As part of
https://bugs.eclipse.org/bugs/show_bug.cgi?id=304594 resolution (make p2 buildable with tycho) I am experimenting tycho 0.13.0 since it allows the –Dmaven.test.failure.ignore argument; quite handy when you don< t know how to fix some test failures and you want to move on...
As you may think, this is not the only new feature in tycho; another feature, about considering optional dependencies during compilation, actually breaks the p2 build.
Here is an example : in the bundle org.eclipse.equinox.p2.touchpoint.eclipse, in the MANIFEST , Import-Package section, we have :
org.eclipse.osgi.service.resolver;version=”1.2.0”;resolution:=optional
See this resolution optional attribute ? well now, since 0.13.0 , tycho does not consider this package anymore while compiling.
I am currently removing those optional resolutions flags ,since to me, those packages marked optional are definitely not optional ( it impacts around 6 bundles)
I<ll submit a patch this day with the exact changes for migrating to tycho 0.13.0; maybe one of you knows why some required packages for compilation were marked optional ? or knows if we can specify property to tycho to let it behave as before ...
Best regards,
Anthony Dahanne
Développeur logiciel / Software Developer
Compuware Montreal
75 Rue Queen, Suite 6500
Montreal, QC, Canada H3C 2N6
+1-514-798-8949