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] 2001-12-17 01:00 ------- Here's a target scetch that should help to reconstruct the problem. Always start from a clean build to test this. This works when run twice !!! <target name="mytarget" depends="init"> <sequential> <!-- The command below also compiles the source mypackage.AllTests.java --> <javac srcdir="${src}" destdir="${build}" includes="mypackage/${sourcefiles}"/> <junit haltonfailure="yes" fork="no"> <formatter type="xml" /> <test name="mypackage.AllTests" todir="${testresult}"/> </junit> </sequential> </target> Note: Putting fork to yes and setting the classpath explicitly seems to solve the problem. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
