009 2:51 PM
To: Ant Users List
Subject: Re: fail when file does not exist
> Again, we need to detect any specified file(s) which are not present
when the tarball is being created.
In that case, simply use to check for those files before
running your tarball.
Or, even better, combine the t
. I'm just trying to
> learn HOW they can do this. Thanks.
>
>
> -Original Message-
> From: David Weintraub [mailto:qazw...@gmail.com]
> Sent: Friday, February 13, 2009 11:22 AM
> To: Ant Users List
> Subject: Re: fail when file does not exist
>
> If y
suggesting that Resource Collections can do this. I'm just trying to
learn HOW they can do this. Thanks.
-Original Message-
From: David Weintraub [mailto:qazw...@gmail.com]
Sent: Friday, February 13, 2009 11:22 AM
To: Ant Users List
Subject: Re: fail when file does not exist
If you&
If you're just tarring up a single file, then you can use available to
see if that file actually exists:
If you have more than one file and you want to make sure you have at
least one file to tar up, you can save your tarfileset as a
patternset, then use resourceCount against th
I'd like my task to fail if the files I specify don't exist. I
currently make use of the prefix, username, group and (sometimes) mode
attributes of , so I can't lose that functionality.
>From the Ant Manual, it looks like the new Resource Collection support
can handle this. But as a mere Ant us