0
我給我的ant腳本代碼在這裏.thanks用於提前執行失敗:產生java.io.IOException:不能運行程序 「WinMergeU.exe」
<?xml version="1.0"?>
<project name="sample1" default="ex1" >
<import file="./property.xml"/>
<target name="ex1" description="winmergeex" >
<exec dir="${winmergedir}" executable="WinMergeU.exe">
<arg value="D:\winme\buid.xml" />
<arg value="D:\winme\buid.xml" />
<arg value="D:\winme\build1.xml" />
</exec>
</target>
</project>
Property.xml
<?xml version="1.0"?>
<project name="propertyexample">
<property name="winmergedir" value="D:\software\WinMerge-2.14.0-exe" />
</project>