Try this in phing:
<?xml version=”1.0″?>
<project name=”tartest” default=”tartest” basedir=”.”>
<target name=”tartest”>
<mkdir dir=”tartest”/>
<touch file=”tartest/test.txt”/>
<touch file=”tartest/test.__txt”/>
<touch file=”tartest/test__.txt”/>
<touch file=”tartest/test_._txt”/>
<tar destfile=”tartest.tar” basedir=”tartest” />
</target>
</project>
I would have expected it to actually DO pack the whole directory.
This works:
…
<tar destfile=”tartest.tar”>
<fileset dir=”tartest” defaultexcludes=”false”>
<include name=”**/**” />
</fileset>
</tar>
…
It’s the same for zip archives.