<target name="check">
<pathconvert property="found" setonempty="false"
pathsep=" ">
<path>
<fileset dir="/folder/folder/xlf-files"
includes="*.xlf" />
</path>
</pathconvert>
</target>
<target name="process" depends="check" if="found">
<!-- do something -->
</target>
HTH,
Matt
--- Don Hill <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am trying to determine if a file exist in a
> folder,
> I know I can use the available for a file but I
> don't know the
> specific file name so for example I just want to
> check for any files
> with a ext of .xlf in folder
> /folder/folder/xlf-files, how would I do
> this, I just need to know if there exist one file.
> Thanks!
>
>
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
>
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]