5
我已經安裝了Phing 2.4.7.1上Windows 7的排除目錄和使用的cygwin的bash shell如何從phing副本任務
我創建了一個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>