ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: generate file list with parameterized regexp
Date Tue, 20 May 2008 06:15:07 GMT
Have you tried http://ant.apache.org/manual/CoreTypes/selectors.html#regexpselect ?
Then you got the 'problem' of correctly masking the regexp.

Jan

> -----Urspr√ľngliche Nachricht-----
> Von: msorens@softhome.net [mailto:msorens@softhome.net] 
> Gesendet: Dienstag, 20. Mai 2008 07:57
> An: user@ant.apache.org
> Betreff: generate file list with parameterized regexp
> 
> 
> I am ant-challenged today: I want to find a set of files in a 
> tree matching 
> a given regular expression. The catch is that the regexp is 
> not constant, 
> but is a function of the file name. I have tried permutations of 
> pathconvert, for loops, and loadfile, filterchain, and 
> linecontainsregexp, 
> stumbling when I could not change the property loaded from 
> loadfile after 
> its initial value. Any suggestions? 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 

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


Mime
View raw message