You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Rebhan, Gilbert" <Gi...@huk-coburg.de> on 2005/01/26 14:24:06 UTC

Load filename as property ?

Hi,

i want the filename of a txtfile set as property.

The directory contains other files beside that txtfile.

example =

dir
   file1.xxx
   file2.txt
   file3.xxx
   file4.xxx


The resulting property should be file2.txt

Any ideas ?

Gilbert

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