Title: file::exist function

How can we do a file::exist( "c:\temp\*.txt") so that I know I can go the next step ?

It would be cleaner than doing a loop around the file pattern.

Something like:

       

        <target name="wildexist">

                <if test="${ file::exists('c:\temp\*.txt') }">

                        <echo message="wild file exists" />

                </if>

                <if test="${ file::exists('mytask.build') }">

                        <echo message="mytask.build exists" />

                </if>

        </target>

Thx -

[EMAIL PROTECTED]  p: 212-770-8953 c: 609-865-3937

Reply via email to