????????????????????????????????????????????????仯??host ip??????nongui????????ant build.xml???????Щ???
????1. log????????????????

 

<tstamp>
<format property="time.stamp" pattern="HHmmss_yyyyMMdd"/>
</tstamp>
<property name="bak.dir" value="c:/apache-jmeter-2.10/bin/testresult/${time.stamp}" />
<property name="result.dir" value="c:/apache-jmeter-2.10/bin/testresult" />
<property name="jmeter.extra" value="c:/apache-jmeter-2.10/extras" />
<target name="clean" depends="">
<delete verbose="true">
<fileset dir="${result.dir}">
<include name="*.csv" />
<include name="*.jtl" />
</fileset>
<fileset dir="${jmeter.extra}">
<include name="*.jtl" />
<include name="*.log" />
</fileset>
</delete>
</target>
<target name="bak">
<copy todir="${bak.dir}" verbose="true">
<fileset dir="${result.dir}">
<include name="*.csv" />
<include name="*.jtl" />
</fileset>
<fileset dir="${jmeter.extra}">
<include name="*.jtl" />
<include name="*.log" />
</fileset>
</copy>
</target>