DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5241>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5241 JUnit task appears to be started before Javac has ended ------- Additional Comments From [EMAIL PROTECTED] 2002-02-15 17:23 ------- A guess: AllTests.class is in a directory that is on your CLASSPATH, this directory does not exist when you start Ant, but is created by a target compilepackage depends upon. If I'm correct, then the JVM removes the directory from the CLASSPATH before it starts Ant (JDK 1.3+ shows this behaviour) - so AllTests.class is effectively not on your CLASSPATH. The forked <junit> task gets a fresh VM and this time around the directory gets not removed, as it is there - therefore the tests get run. You could create the directory before you start Ant, or you could use a nested <classpath> element in your <junit> task that points to the created directory - or you could stick to a forked junit execution. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
