Hi, I have the following directory structure w/
JUNIT (which is not really relevant though)
src (directory)
src/com
src/com/xyz
src/com/xyz/SomeClass.java
test (directory)
test/com
test/com/xyz
test/com/xyz/SomeClassTest.java
Note: src, test are under the same project's "Java Resources" node in Eclipse.
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....