ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: TAR problems using tarfileset
Date Thu, 22 Mar 2001 07:12:58 GMT
Michaƫl Smith <news_michael@hotmail.com> 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="**/common.properties"/>
>           </tarfileset>

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

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

Stefan

Mime
View raw message