How not to export source folders [message #257228] |
Wed, 05 November 2008 11:52 |
Eclipse User |
|
|
|
Hello,
I'm using a scanner which is given a package name an then looks for
classes with certain annotations. The project I'm on uses the exported
classpath of a another project. That one has one source folder
'src/main/java' and one 'src/test/java'. I scan a few packages under that
project's src/main/java source folder.
If, in thee project mine depends on, I create a package (can even be
empty) under src/test/java, it overrides the one with the same name under
src/main/java - hence my scanner will not find any of the src/main/java
classes.
I tried reordering the two folders in the 'Order and Export' tab, but get
the same result. The checkbox for the export of src/test/java is greyed
out and I cannot deactivate it.
Any ideas how I can
a) get to the 'overridden' source folder src/main/java, or
b) stop eclipse exporting the source folder src/test/java?
My thanks in advance,
Thorsten
|
|
|
Powered by
FUDForum. Page generated in 0.03100 seconds