我发现了这个代码片段:
<target name="test">
<junit fork="yes" haltonfailure="yes">
<test name="${classes}" />
<formatter type="plain" usefile="false" />
<classpath refid="test.classpath" />
</junit>
</target>
我是否需要修改它以首先编译测试类,而不是直接运行这个目标?