Tar Task Does Not Tar Empty Directories

2012-08-03 Thread Pepersack, Bob G
Hi all, I'm getting files and directories out of SVN with SvnAnt. Some of the directories are empty. Then I'm using the task to put them into tar files. I would like the empty directories to be in the tar file, but I can't get the task to include them. Here is my tar target:

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 versi

RE: Tar Task

2009-10-15 Thread Scot P. Floess
I believe it is smart enough :) On Thu, 15 Oct 2009, Rez P wrote: Thanks Scott So I run the tar target each time regardless of whether any files have changed or not. Is the Tar task smart enough to detect that if there were no changes, there's nothing to do? Apparently it is.

RE: Tar Task

2009-10-15 Thread Rez P
Thanks Scott So I run the tar target each time regardless of whether any files have changed or not. Is the Tar task smart enough to detect that if there were no changes, there's nothing to do? Apparently it is. C:\MyCVS\src\>ant tar Buildfile: build.xml tar: [tar] Nothi

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
Scripts.tar -rw-r--r-- 0/0 6 2009-10-15 13:37:50 alpha.txt Note the first run the tar file had foo.txt in it... Second run it correctly contained alpha.txt :) On Wed, 14 Oct 2009, Rez P wrote: Hello Everyone, How do I get the tar task to overwrite its previously created tar fi

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 option

Tar Task

2009-10-14 Thread Rez P
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 the previous version of ShellS

RE: Misleading error message from tar task

2008-07-07 Thread Anderson, Rob (Global Trade)
Hanna [mailto:[EMAIL PROTECTED] Sent: Saturday, July 05, 2008 12:57 PM To: Ant Users List Subject: Misleading error message from tar task I was just wondering why the tar task has a kind of misleading error message and how I would fix it or report it to be fixed. Apparently, if the tar task

Misleading error message from tar task

2008-07-05 Thread Jeremy Hanna
I was just wondering why the tar task has a kind of misleading error message and how I would fix it or report it to be fixed. Apparently, if the tar task cannot find any files to include in the destination, it just reports that there is nothing to do, that the tar file is up to date. A

RE: Issue with Tar Task - Empty Folders not getting tar

2008-05-19 Thread Irfan.Sayed
Can you please elaborate more in detail what's the exact error??? Regards, Irfan -Original Message- From: Pankaj Arora01 [mailto:[EMAIL PROTECTED] Sent: Monday, May 19, 2008 7:05 PM To: Ant Users List Subject: Issue with Tar Task - Empty Folders not getting tar HI All, I am

Issue with Tar Task - Empty Folders not getting tar

2008-05-19 Thread Pankaj Arora01
HI All, I am using 1.6.5 Version of ANT. Empty folders are not getting Tar. Is it a known Bug? Thanks in Advance Pankaj CAUTION - Disclaimer * This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you

tar task with symlinks

2007-03-04 Thread Tobias Bender
Hi. I want to execute this tar task: resource="/System/Library/Frameworks/JavaVM.framework/Resources/ MacOS/JavaApplicationStub/"/>

Re: Is it possible to configure the include and exclude of tar task outside of build xml file?

2005-08-16 Thread Matt Benson
--- Leon Pu <[EMAIL PROTECTED]> wrote: [SNIP] > Is there any other way or tool can be used to > configure the include and > exclude of tar task outside of build xml file? > Have a look at the includesfile and excludesfile attributes of tar/tarfileset. -Matt > &

AW: Is it possible to configure the include and exclude of tar task outside of build xml file?

2005-08-16 Thread Jan.Materne
: Ant Usenet >Betreff: Is it possible to configure the include and exclude >of tar task outside of build xml file? > >Hi all, > >currently we cannot use ant-contrib's task inside the >tarfileset, so I have to hard code the includes and excludes >in the build xml file. >B

Is it possible to configure the include and exclude of tar task outside of build xml file?

2005-08-16 Thread Leon Pu
Hi all, currently we cannot use ant-contrib's task inside the tarfileset, so I have to hard code the includes and excludes in the build xml file. But it's better to write these setting in the properties file. Is there any other way or tool can be used to configure the include and excl

Always get "tar is up to date" from tar task.

2005-08-03 Thread Leon Pu
Hi all, I met a strange problem that Ant always return me "tar is up to date" when I run a target which contains tar task. But as a matter of fact the tar file hasn't been created by my build file, but I continuously get preceding error message. Could anybody tell me why? Any com

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

tar task keeps reporting nothing to do

2005-02-18 Thread Paul Taylor
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 do even though it