| Summary: | PDE does not recognize bundles in the target platform if they don't have a qualifier in their version | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Hugues Malphettes <hmalphettes> | ||||||
| Component: | UI | Assignee: | PDE-UI-Inbox <pde-ui-inbox> | ||||||
| Status: | RESOLVED INVALID | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | ||||||||
| Version: | 3.6.1 | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Hugues Malphettes
oops I might have gotten really confused. Please hang on and let me check a few more things before I'll probably mark this as INVALID. Well when jruby is part of a big target platform where all its optional dependencies are resolved, PDE suddenly considers it invisible. I tried to come up with a minimum target platform to reproduce this and failed. If I remove jruby's optional import of org.apache.bsf then the problem disappears so far. I'll attach a screenshot that shows org.jruby.jruby in the tree of dependencies of my plugin and next to it PDE compiler reporting that it cannot find the org.jruby.embed package. If someone has an idea as to where the PDE could decide to not include a bundle it its compiler classpath or RequiredPlugins node I would be happy to try to debug it. Created attachment 182334 [details]
PDE does not find the jruby bundle
PDE refuses to compile. Can't find org.jruby.embed.
The dependencies tree does show org.jruby.jruby 1.5.3 and so does the target platform. The package is in fact exported correctly by that bundle.
Created attachment 182336 [details]
With the same bundle minus the bsf import ok.
Same than before with a slightly different version of org.jruby.jruby
Let's also note that p2director has no problem with the original jruby-complete bundle and tycho is comfortable compiling the whole thing with jruby-complete.
My apologies for this lousy bug report. If someone gives me hints on where the issues might be I can try to narrow it.
|