Trying to run ANT JUnit target in debug mode in Eclipse
问题 Here is my ANT JUnit target <target name="test" depends="compile" > <junit failureProperty="test.failure" > <jvmarg value="-Xdebug" /> <jvmarg value="-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5432" /> <classpath> <pathelement path="${basedir}\..\Core\lib\junit-4.10.jar"/> <pathelement path="${basedir}\..\Suggestion\lib\ssce.jar"/> <pathelement path="C:\Java\javamail-1.4.1\mail.jar"/> <pathelement path="C:\Java\commons-net-2.0\commons-net-ftp-2.0.jar"/> <pathelement path="$