ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Tar Task
Date Fri, 16 Oct 2009 04:38:02 GMT
On 2009-10-15, Rez P <> wrote:

> How do I get the tar task to overwrite its previously created tar
> file? Please see my current target below.  I don't want to delete my
> dist folder each time and I don't see any options in the help section
> to overwrite the previous version of ShellScripts.tar.

The core tar task doesn't support this scenario, so you'd have to delete
the archive before re-creating it.

OTOH the tar task will re-create your target archive if any of the files
that would end up inside the archive are newer than the entries inside
the existing archive.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message