0
我需要指定特定文件的列表exclud但是當我嘗試像excludesfile="file1, file2"
我得到執行任務時說的錯誤:如何使用excludesfile/includesfile螞蟻拉鍊任務
C:\用戶..... \ Desktop \ testProject \ project.build.xml:49:Excludesfile C:\ Users ...... \ Desktop \ testProject \ file1,找不到file2。
這是我的代碼:
<target name="jar" depends="common.jar">
<zip
destfile="${jar.build.dir}/some-jar.jar"
basedir="${base.dir}"
includes="src/**,gradle/**"
excludesfile="file1,file2">
</zip>
</target>