Re: Tar Task

2009-10-15 Thread Stefan Bodewig
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.

RE: Tar Task

2009-10-15 Thread Scot P. Floess
C:\MyCVS\src\>ant tar Buildfile: build.xml tar: [tar] Nothing to do: C:\MyCVS\src\dist\ShellScripts.tar is up to date. BUILD SUCCESSFUL Total time: 0 seconds Date: Thu, 15 Oct 2009 13:43:03 -0400 From: sflo...@nc.rr.com To: user@ant.apache.org Subject: Re:

RE: Tar Task

2009-10-15 Thread Rez P
ng to do: C:\MyCVS\src\dist\ShellScripts.tar is up to date. BUILD SUCCESSFUL Total time: 0 seconds > Date: Thu, 15 Oct 2009 13:43:03 -0400 > From: sflo...@nc.rr.com > To: user@ant.apache.org > Subject: Re: Tar Task > > > It should just over-w

RE: Tar Task

2009-10-15 Thread Rez P
Great, thanks. I was so busy thinking about deleting the folder that deleting the file didn't occur to me. Duh! :) Good to know that delete won't fail if the file doesn't exist. Thanks. > Date: Thu, 15 Oct 2009 08:33:56 +0200 > Subject: Re: Tar Task > From

Re: Tar Task

2009-10-15 Thread Scot P. Floess
It should just over-write it for you automatically... Here is an example of what I did: excludes="**/cvs/**"/> # echo "hello" > shell/foo.txt # ant Buildfile: build.xml [tar] Building tar: /home/sfloess/development/test/ant3/DIST/ShellScripts.tar # tar tvf DIST/ShellScripts.tar

Re: Tar Task

2009-10-14 Thread Francis GALIEGUE
On Thu, Oct 15, 2009 at 00:48, Rez P wrote: > > Hello Everyone, > > > > 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 th

Re: tar task keeps reporting nothing to do

2005-02-20 Thread Mark Lundquist
On Feb 20, 2005, at 9:27 AM, Paul Taylor wrote: Paul Taylor wrote: I am trying trying to build to do two slightly different builds from the same source code into two different directories, build and buildwithlicense. Then for each directory I tar up the results, the first one works ok but the se

Re: tar task keeps reporting nothing to do

2005-02-20 Thread Paul Taylor
Paul Taylor wrote: I am trying trying to build to do two slightly different builds from the same source code into two different directories, build and buildwithlicense. Then for each directory I tar up the results, the first one works ok but the second one always reports that there is nothing to