Re: Need to know if a file is newer than a particular date

2005-07-01 Thread Matt Benson
You're on the right track. You'll need a fileset for the selector; supply pathconvert with this, setting setonempty="false" and your property will remain unset if no files match. HTH, Matt --- Ninju Bohra <[EMAIL PROTECTED]> wrote: > Hello all, > > I have been looking around the ANT help and c

Need to know if a file is newer than a particular date

2005-07-01 Thread Ninju Bohra
Hello all, I have been looking around the ANT help and can not find a concise way to do this so I thought would see anybody has a quick way to do this: I need to determine if a given file (I know its path and name) is newer than a given date. I want to set a property if the file is newer. Any q