我在这里得到了我的 ant 脚本代码。谢谢提前
<?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>
属性.xml
<?xml version="1.0"?>
<project name="propertyexample">
<property name="winmergedir" value="D:\software\WinMerge-2.14.0-exe" />
</project>