ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Derek Haskin <dhas...@au1.ibm.com>
Subject how to set a property to the latest file
Date Mon, 28 May 2007 04:09:30 GMT
Hi,

How do you set a property to using a wild card to a particular file in a
directory.

Example:
I want to set a property to the first occurence of the following command:-
   ls -r /tmp/test/des.*.zip

The directory /tmp/test will contain mutliple files that match des.*.zip
Using ant how to I set a property to the first file that matches.

Thanks.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message