Excellent, thanks a lot!

> What about:
> <project default="day.old.test">
>   <target name="day.old.test">
>     <property name="my.file" value="build.xml"/>
>     <tstamp>
>       <format
>         property="day.old.time"
>         pattern="MM/dd/yyyy hh:mm aa"
>         offset="-1" unit="day"
>       />
>     </tstamp>
> 
>     <touch file=".my_day_old_file" datetime="${day.old.time}"/>
>     <uptodate property="my.file.is.old"
>               targetfile=".my_day_old_file"
>               srcfile="${my.file}"/>
>     <echo message="${my.file.is.old}"/>
>   </target>
> </project>


--
Eric Jain


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to