Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » How not to export source folders
How not to export source folders [message #257228] Wed, 05 November 2008 11:52
Eclipse UserFriend
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
Previous Topic:Getting all packages from a IJavaProject
Next Topic:Can I build for multi-target (use different library set)?
Goto Forum:
  


Current Time: Sat May 31 20:22:19 EDT 2025

Powered by FUDForum. Page generated in 0.03100 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top