How make Eclipse work with packages in parallel directory sturcture [message #269892] |
Wed, 01 April 2009 21:20  |
Eclipse User |
|
|
|
Hi, I have the following directory structure w/ JUNIT (which is not really
relevant though)
src
com
xyz
SomeClass.java
test
com
xyz
SomeClassTest.java
Unfortunately, within Eclipse, SomeClassTest cannot test SomeClass,
because it cannot "see" SomeClass even though they are supposed to be in
the same package com.xyz. Eclipse would simply complain that SomeClass
cannot be resolved, with an "X" icon at the offending line that references
SomeClass within SomeClassTest.
Can I resolve this issue in Eclipse, or do I have to do this manually
(e.g. via ANT) by copying these files into the same directory before
compiling them together (which means, I wouldn't be able to use Eclipse
anymore). Thanks....
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07483 seconds