ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ed Mack <>
Subject RE: Copy task
Date Wed, 06 Jun 2001 22:17:08 GMT
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.


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

--- Ed Mack <> 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>. 



Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!

View raw message