If you're not opposed to more custom tasks, there is a FileUtil task in
Antelope (antelope.tigris.org) that will get the last modified time.
Dale
On Thu, 23 Mar 2006, Anderson, Rob (Global Trade) wrote:
I have a custom Ant task that I am using to extract documents from a
document management
That sounds like it would work. I'll give it a try. Thanks.
-Rob A
> -Original Message-
> From: RADEMAKERS Tanguy [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 23, 2006 11:51 AM
> To: Ant Users List
> Subject: RE: Get the modification time of a file into a prope
> Why not do it like this:
>
> if lastrun.txt doesn't exist,
>use to generate the last run date/time and file="lastrun.txt"> to write it to the file lastrun.txt
> else
>use to load lastrun.txt
Nevermind my post, this is smarter! --DD
> 1. If lastrun.txt exists, get the modification time into a property.
> 2. Extract the documents based on the property if it exists. If property
> does not exist, just get everything.
> 3. Touch the file lastrun.txt
>
> I don't know how to accomplish step 1. I could write a wrapper script to
> get
Why not do it like this:
if lastrun.txt doesn't exist,
use to generate the last run date/time and to write it to the file lastrun.txt
else
use to load lastrun.txt
/t
>-Original Message-
>From: Anderson, Rob (Global Trade) [mailto:[EMAIL PROTECTED]
>Sent: Thursday,