R
ros
Hi,
I am trying to learn the Ant framework. And for this I am doing the
tutorial that comes with the framework download.
Everything went well until I reached the part where I have to reach
the JUnit framework for testing. I get the error pasted below when I
use this.
I would be really thankful if somebody could help me make sense of
this error message. Would really appreciate help.
Thanks
ros
C:\ANT tutorial 1>ant junit
Buildfile: build.xml
compile:
[javac] Compiling 1 source file to C:\ANT tutorial 1\build\classes
[javac] C:\ANT tutorial 1\src\HelloWorldTest.java:1: package
junit.tests.fra
mework does not exist
[javac] public class HelloWorldTest extends
junit.tests.framework.TestCase {
[javac] ^
[javac] C:\ANT tutorial 1\src\HelloWorldTest.java:7: cannot
resolve symbol
[javac] symbol : method fail (java.lang.String)
[javac] location: class HelloWorldTest
[javac] fail("An error message");
[javac] ^
[javac] 2 errors
BUILD FAILED
C:\ANT tutorial 1\build.xml:24: Compile failed; see the compiler error
output fo
r details.
Total time: 4 seconds
I am trying to learn the Ant framework. And for this I am doing the
tutorial that comes with the framework download.
Everything went well until I reached the part where I have to reach
the JUnit framework for testing. I get the error pasted below when I
use this.
I would be really thankful if somebody could help me make sense of
this error message. Would really appreciate help.
Thanks
ros
C:\ANT tutorial 1>ant junit
Buildfile: build.xml
compile:
[javac] Compiling 1 source file to C:\ANT tutorial 1\build\classes
[javac] C:\ANT tutorial 1\src\HelloWorldTest.java:1: package
junit.tests.fra
mework does not exist
[javac] public class HelloWorldTest extends
junit.tests.framework.TestCase {
[javac] ^
[javac] C:\ANT tutorial 1\src\HelloWorldTest.java:7: cannot
resolve symbol
[javac] symbol : method fail (java.lang.String)
[javac] location: class HelloWorldTest
[javac] fail("An error message");
[javac] ^
[javac] 2 errors
BUILD FAILED
C:\ANT tutorial 1\build.xml:24: Compile failed; see the compiler error
output fo
r details.
Total time: 4 seconds