Thanks, Daine, I had not looked at this.  I'm not certain how I might use
it, in my specific situation, but I'll take a look at it.

Ed

-----Original Message-----
From: Diane Holt [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 06, 2001 12:29 PM
To: [EMAIL PROTECTED]
Subject: RE: Copy task


--- Ed Mack <[EMAIL PROTECTED]> wrote:
> Well, you got me there, Mathew.  What I am really after is a way to
> catch the condition when a specific file isn't there. Take, for example:
> 
> <patternset id="jar-1">
>   <include name="com/mycom/foo/*.class" />
>   <include name="com/mycom/bar/bar.class" />
> </patternset>
> 
> I would like to know if the copy task that uses this patternset can't
> find bar.class.

The usual way of checking for specific files is to use <available>, in
combination with the "depends" and "if" attributes of <target>. 

Diane

=====
([EMAIL PROTECTED])



__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

Reply via email to