RE: property validation

2004-10-27 Thread Mark Lybarger
rty $MAJOR > > > > > > > > > > > -Original Message- > > > From: Robert Koberg [mailto:[EMAIL PROTECTED] > > > Sent: Wednesday, October 27, 2004 7:19 PM > > > To: Ant Users List > > > Subject: Re: property v

Re: property validation

2004-10-27 Thread Robert Koberg
Mark Lybarger wrote: this is interesting indeed. i'm only vaguely familar with schemas and their use. i have a build.xml which does my build. does my custom schema go into build.xs? how do i reference that from build.xml? here's a simple build.xml that needs to validate a property MAJOR is num

RE: property validation

2004-10-27 Thread Mark Lybarger
is numeric: found property $MAJOR > -Original Message- > From: Robert Koberg [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 27, 2004 7:19 PM > To: Ant Users List > Subject: Re: property validation > > > Mark Lybarger wrote: > > > i'd l

Re: property validation

2004-10-27 Thread Robert Koberg
Mark Lybarger wrote: i'd like to validate some properties in my build file. we have version numbers specified as MAJOR, MINOR, and BUG and i'd like to make sure they're numeric (preferably 2 digits or under). does anyone know how i can possibly use ant's script (javascript) or something else to