Hi, folks,
I spent the whole afternoon trying to figure out why I couldn't run
junit with
ant, but unfortunately, it didn't work for me.Can somebody help me?
part of my build.xml:
I'm sure the sequence of compiling
test and source code is correct, I added the lib, src/classes, and test/classes to test.classpath which is defined in
path datatype. I test my code in Junit from Eclipse, it passed! When I tried to run it with ANT, then I always got this error:
here is the console output:
I also tried to run ant in eclipse, it didn't work in eclipse neither.
When I run "which ant" in my console, it displays /usr/bin/ant.
Anyone has any clue? Any suggestion is high appreciated.
[ January 10, 2008: Message edited by: Hongli Li ]