Community
Participate
Working Groups
Build Identifier: 20110916-0149 When using "import package" to specify a dependency the build fails with a resolution error. When building the same project but using "require bundle" instead the build succeeds. I created a minimal example that shows the problem. For this example i use an implicit target platform but the problem also occurs when using an explicit target platform file. Reproducible: Always
p2 bug 360659? We really need to fix the debug output - everything is a "resolution error"...
Created attachment 207998 [details] Failing minimal project that uses import package
Created attachment 207999 [details] Succeeding minimal project that uses require bundle
I think it is indeed that p2 bug.
(In reply to comment #4) > I think it is indeed that p2 bug. Update: It is indeed that bug. By adding the attribute "core" to the import package that build succeeds too. This bug can be closed.
This still is a Tycho problem (because Tycho includes p2), but if you are satisfied with the explanation, we could close this issue as "invalid". It's definately not "fixed".
(In reply to comment #5) > Update: It is indeed that bug. By adding the attribute "core" to the import > package that build succeeds too. As a follow-up: in the end adding the attribute was not a solution and i had to use require bundle. (In reply to comment #6) > This still is a Tycho problem (because Tycho includes p2), but if you are > satisfied with the explanation, we could close this issue as "invalid". It's > definately not "fixed". I am satisfied with the explanation. It would be useful if tycho could provide a more descriptive error message. Do you want me to create a bug for that? ps: The selection of Resolved / Fixed was by accident.
(In reply to comment #7) > It would be useful if tycho could provide a more descriptive error message. > Do you want me to create a bug for that? Yes, this would be useful, thanks!