我在Windows 7上安装了Phing 2.4.7.1并使用了cygwin bash shell
我创建了一个Phing任务来将文件复制到本地目录并压缩文件,但我尝试排除某些目录但没有成功.复制整个目录
任务如下:
<copy todir="${builddir}" includeemptydirs="true" >
<fileset dir="." defaultexcludes="true">
<exclude name="cache/*" />
<exclude name="build.*" />
<exclude name="log/*" />
<exclude name=".git" />
<exclude name="/data/*" />
<exclude name="/nbproject" />
<exclude name="*~" />
</fileset>
</copy>
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
4082 次 |
| 最近记录: |