S
sjoshi
Hello
When try to run my simple build.xml, I get these errors:
[javac] D:\Sunit\JavaFiles\workspace\Ch2\src\org\sj\Ch2_01Test.java:9:
package junit.framework does not exist
[javac] import junit.framework.TestCase;
[javac] D:\Sunit\JavaFiles\workspace\Ch2\src\org\sj\Ch2_01Test.java:17:
cannot resolve symbol
[javac] symbol : class TestCase
[javac] location: class org.sj.Ch2_01Test
[javac] public class Ch2_01Test extends TestCase
Now I can run the Ch2_01Test file within eclipse and it goes thru.
fine. Under my project's properties, I have in the Order And Export tab
listed
Ch2/src - Checked
JRE System Library 1.4.2 - Unchecked
[JUNIT_HOME]/juint.jar - path to the jar file - I Checked this one
Under Libraries tab
I have both JUNIT_HOME and SRE System Library
Any ideas what might be wrong that Ant complains. I'm in Eclipse 3.1
thanks
Sunit
When try to run my simple build.xml, I get these errors:
[javac] D:\Sunit\JavaFiles\workspace\Ch2\src\org\sj\Ch2_01Test.java:9:
package junit.framework does not exist
[javac] import junit.framework.TestCase;
[javac] D:\Sunit\JavaFiles\workspace\Ch2\src\org\sj\Ch2_01Test.java:17:
cannot resolve symbol
[javac] symbol : class TestCase
[javac] location: class org.sj.Ch2_01Test
[javac] public class Ch2_01Test extends TestCase
Now I can run the Ch2_01Test file within eclipse and it goes thru.
fine. Under my project's properties, I have in the Order And Export tab
listed
Ch2/src - Checked
JRE System Library 1.4.2 - Unchecked
[JUNIT_HOME]/juint.jar - path to the jar file - I Checked this one
Under Libraries tab
I have both JUNIT_HOME and SRE System Library
Any ideas what might be wrong that Ant complains. I'm in Eclipse 3.1
thanks
Sunit