I am able to run
JUnit tests through a simple batch file as below:
However, when I have the following block in my
ANT build.xml file, I get a strange error:
The error is:
Testsuite: rov.test.AllTest
Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
Caused an ERROR
Class org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner can not access a member of class rov.test.AllTest with modifiers "public static" at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:57)
I can't figure out whats wrong with my ANT file, does anyone have any suggestions? Thanks in advance.
[ edited long unbroken classpath and changed error message with long unbroken line from a code block to a quote block -ds ]
[ September 23, 2004: Message edited by: Dirk Schreckmann ]