我需要指定要删除的特定文件的列表,但是当我尝试像===
这样的操作时,我会在执行任务时遇到错误:
C:\ Users ..... \ Desktop \ testProject \ project.build.xml:49:Excludesfile C:\ Users ...... \ Desktop \ testProject \ file1,file2 not found。
这是我的代码:
excludesfile="file1, file2"
答案 0 :(得分:1)
excludesfile
用于指定包含要在zip
进程中排除的文件列表的文件(每个文件在一个单独的行中)。要将列表指定为逗号(或空格)分隔文件,请使用excludes
参数。例如:
excludes="file1,file2"