Replies: 2 comments 5 replies
-
|
I don't think the compiler is involved in the classpath resolution. The classpath resolution is provided by |
Beta Was this translation helpful? Give feedback.
-
PDE does not modifies the classpath it extends the classpath with a so called classpath container and as such can supply classpath entries.
That is not always the case. PDE look at the manifest and then adds jar depending on the rules of these imports, but this not necessarily include all transitive dependencies.
The bundle pool is just an implementation detail (and it is the pde bundle pool not a p2 one). A classpath entry can came from any source including maven or map to workspace project as well.
If you like to dive into, then look into |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm working on a project to enable using javac instead of ECJ as the compiler for Eclipse.
We're running into a problem where transitive dependencies of Eclipse plugin projects aren't being added to the classpath during the build, which leads to compilation errors. I'm currently trying to debug to figure out what's going on.
As far as I understand, PDE modifies the classpath of the
IJavaProjectat some point so that it contains the jars of all the transitive dependencies (which are contained in the p2 bundle pool). I think something might be going wrong during or around this step.Any general pointers on where to start debugging?
Beta Was this translation helpful? Give feedback.
All reactions