ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: TAR problems using tarfileset
Date Thu, 22 Mar 2001 07:12:58 GMT
Michaƫl Smith <> wrote:

> Here is the portion of my build.xml:
>         <delete dir="y:/test.tar"/>

y:/test.tar is not a directory, is it?

should be 

<delete file="y:/test.tar"/>

>         <tar longfile="gnu" tarfile="y:/test.tar">
>           <tarfileset dir="y:/Common/common/.." mode="755"
>                       username="deploy" group="deploy">
>             <include name="**/"/>
>           </tarfileset>

closing </tar> is missing, but I guess this has been a cut-n-paste

As long as your archive exists and is newer than your files in
y:/Common/, <tar> won't create a new one.


View raw message