Hi,
Does anyone know of an ant task that I can use to
check if a directory contains one or more files?
I'm trying:
<condition property="filepresent">
<available file="${upload.dir}/?*"/>
</condition>
But that does not work (filepresent is not set
although ${upload.dir} contains more than one file).
Apparently, "available" does not take a pattern
argument for the filename.
Regards,
~ amol
---------
You may unsubscribe from this mailing list
by sending a blank email addressed to:
--
Find additional help by sending a blank email
addressed to: