I would like to set a property on the existence of a particular type of
file.
e.g.
<condition property="compile.required">
<or>
<available file="${src.root}/${site.name}/${patch.name}**/*.java"
property="compile.required" />
</or>
</condition>
But I understand this is not possible with the "available" task.
Am I missing something ?
cheers
dan
_______________________________
Dan Gardner Emap IT - UK
** For great Emap magazine subscription & gift offers visit
http://www.emapmagazines.co.uk **
--------------------------------------------------------------------------------
The information in this email is intended only for the addressee(s) named above.
Access to this email by anyone else is unauthorised.
If you are not the intended recipient of this message any disclosure, copying,
distribution or any action taken in reliance on it is prohibited and may be unlawful.
Emap plc and or its subsidiaries do not warrant that any attachments are free from
viruses or other defects and accept no liability for any losses resulting from
infected email transmissions.
Please note that any views expressed in this email may be those of the originator
and do not necessarily reflect those of this organisation.
--------------------------------------------------------------------------------
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>