classpath priority [message #500904] |
Mon, 30 November 2009 04:18  |
Eclipse User |
|
|
|
The situation I'm trying to figure out has three projects: A, B and C:
- B uses A
- C uses A and B
In Eclipse all three projects are present. Important is the following:
- Project B uses A via A.jar in its lib directory.
- Project C has project A en B directly included.
- Neither A or B have their jars marked as "exported".
- The classpath order in project C is:
* C source dirs
* project A
* project B
* all jars in its lib directory
- A.jar is NOT present in project C's classpath / lib dir.
Problem: if I click in the output console of project C on a class name that is part of project A, I end up in the class file that is inside A.jar.
A.jar can only be referenced via Project B. But the jar is not exported. How can I end up there? Especially since project A is placed before project B?
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04625 seconds