Re: AW: Pattern matching the value of a property

2005-08-16 Thread Matt Benson
; > >Von: Bailey, David > > [mailto:[EMAIL PROTECTED] > > >Gesendet: Dienstag, 16. August 2005 18:28 > > >An: 'user@ant.apache.org' > > >Betreff: Pattern matching the value of a property > > > > > > > > >I have a wrapper wh

Re: AW: Pattern matching the value of a property

2005-08-16 Thread Matt Benson
t might be to add defaultValue="wrong" to propertyregex, then: -Matt > > Just a quick shot ... > > > Jan > > > > >-Ursprüngliche Nachricht- > >Von: Bailey, David > [mailto:[EMAIL PROTECTED] > >Gesendet: Dienstag, 16. A

RE: Pattern matching the value of a property

2005-08-16 Thread Dick, Brian E.
ent: Tuesday, August 16, 2005 12:28 PM To: 'user@ant.apache.org' Subject: Pattern matching the value of a property I have a wrapper which expects to receive a version string (\d{1}\.\d{1}\.\d{1-2}), and pass it to Ant as a -DPROPERTY=VALUE pair. I want to perform validation on the versi

AW: Pattern matching the value of a property

2005-08-16 Thread Jan.Materne
AntContrib Just a quick shot ... Jan >-Ursprüngliche Nachricht- >Von: Bailey, David [mailto:[EMAIL PROTECTED] >Gesendet: Dienstag, 16. August 2005 18:28 >An: 'user@ant.apache.org' >Betreff: Pattern matching the value of a property > > >I have

Pattern matching the value of a property

2005-08-16 Thread Bailey, David
I have a wrapper which expects to receive a version string (\d{1}\.\d{1}\.\d{1-2}), and pass it to Ant as a -DPROPERTY=VALUE pair. I want to perform validation on the version string to insure that it actually matches the specified pattern. So far as I am aware, I can't do this validation in the