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=7081>. 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=7081 junit class loading problems Summary: junit class loading problems Product: Ant Version: 1.4.1 Platform: Other OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] error with following target <target name="test" depends="build,properties"> <junit printsummary="yes" haltonerror="yes" haltonfailure="yes"> <formatter type="brief"/> <classpath> <pathelement location="${classes.dir}"/> <pathelement location="${base.dir}\properties"/> <pathelement location="${unity.jar}"/> <fileset dir="${lib.dir}"> <include name="**/*.jar"/> </fileset> </classpath> <test name="test.AllTests"/> </junit> </target> where lib.jar contains both mytask.jar and junit.jar The ant junit task does not utilise the settings of the classpath correctly. It seems to expect the junit jar to be made available prior to the classpath statement telling it where to locate the jar and thus fails. Its clearly visible in the ant code. I have had to deploy junit.jar into the ant lib folder which is not good. Also an additional task I have written needs to be deployed into the lib folder before it will pick it up, is there any way around this. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
