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
22:39 > > An: Ant Users List > > Betreff: Re: Set a property based on a regular > expression > > (without ant-contrib) > > > > This might exactly what you're looking for: Check > the > > task. It has the ability to examine the Ant > version, so you c

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

2008-04-27 Thread Jan.Materne
ntraub [mailto:[EMAIL PROTECTED] > Gesendet: Freitag, 25. April 2008 22:39 > An: Ant Users List > Betreff: Re: Set a property based on a regular expression > (without ant-contrib) > > This might exactly what you're looking for: Check the > task. It has the ability to exa

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

2008-04-25 Thread David Weintraub
This might exactly what you're looking for: Check the task. It has the ability to examine the Ant version, so you can verify that you're running the correct Ant version. If not, take a look at the AntContrib task . That will let you fil

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

2008-04-25 Thread Iv�n
Hi all, I'm new to ant and I'm facing the following problem: I want to know the current ant version, e.g. 1.7.0, I know that there are built-in properties, but in some linux distros -like gentoo- the {$ant.version} property result is: Apache Ant version 1.7.0 compiled on April 8 2008 and I just