RE: fail when file does not exist

2009-02-13 Thread Mike K. Cepek
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

Re: fail when file does not exist

2009-02-13 Thread David Weintraub
. 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

RE: fail when file does not exist

2009-02-13 Thread Mike K. Cepek
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&

Re: fail when file does not exist

2009-02-13 Thread David Weintraub
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