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=4107>. 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=4107 <java> runs class twice Summary: <java> runs class twice Product: Ant Version: 1.4 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Core AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I have a class com.aw.httpLoadTester.httpLoadTester that runs correctly from the command line with: java -cp classes com.naryx.httpLoadTester.httpLoadTester But when I use ANT to run it with: ant runclass -Dclass=com.naryx.httpLoadTester.httpLoadTester where build.xml is: ... <target name="runclass"> <!-- Run the class given as a command line argument --> <echo message="Running ${class}"/> <java classname="${class}"> <classpath> <pathelement location="${build}"/> <pathelement location="${jarpath}jsdk.jar"/> </classpath> </java> </target> ... the httpLoadTester class runs twice.
