AW: AW: Set a property based on a regular expression (without ant-contrib)

2008-04-28 Thread Jan.Materne
008 13:30 > An: Ant Users List > Betreff: Re: AW: Set a property based on a regular expression > (without ant-contrib) > > Hi Jan, > > Thanks for your reply, but is not what I want. I want > to extract the number part of the $ant.version > property. e.g. > > Ap

Re: AW: Set a property based on a regular expression (without ant-contrib)

2008-04-28 Thread Iv�n
Hi Jan, Thanks for your reply, but is not what I want. I want to extract the number part of the $ant.version property. e.g. Apache Ant version 1.7.0 compiled on April 8 2008 I just want the "1.7.0" part ant store it in another property. Is possible with ant-contrib [1] but I don't want to use th

AW: Set a property based on a regular expression (without ant-contrib)

2008-04-27 Thread Jan.Materne
Stefan blogged about that ... http://stefan.samaflost.de/blog/en/Apache/Ant/how_to_detect_170.html http://stefan.samaflost.de/blog/en/Apache/Ant/how_to_detect_163.html http://stefan.samaflost.de/blog/2004/10/07#how_to_detect_162 Jan > -Ursprüngliche Nachricht- > Von: David Weintraub [