Hello, Using Ant version 1.5. I'm having problem with the JUnit task. It seems that it ignores a nested <classpath>.
I have a case like this: <junit printsummary="yes"> <classpath refid="compile.classpath"/> <formatter type="plain"/> <test name="com.isbn.tests.WebTest"/> </junit> However, when I run ant with -verbose, I see the invocation of JUnitTestRunner class, but the classpath does not contain the value specified in test.classpath. Because of that my tests fail with ClassNotFound exception. Does this sound familiar to anyone? PS- I've also tried to implicitly set a <classpath> tag, but it didn't work as Ant ignored it. Please help! Thanks, Aviv.