On 2009-10-15, Rez P <pon...@hotmail.com> 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. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org