Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 2834 invoked from network); 12 Jul 2007 14:39:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Jul 2007 14:39:53 -0000 Received: (qmail 66855 invoked by uid 500); 12 Jul 2007 14:39:50 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 66815 invoked by uid 500); 12 Jul 2007 14:39:50 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 66802 invoked by uid 99); 12 Jul 2007 14:39:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jul 2007 07:39:50 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=NO_REAL_NAME,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of cknell@onebox.com designates 69.25.242.10 as permitted sender) Received: from [69.25.242.10] (HELO securemail.onebox.com) (69.25.242.10) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jul 2007 07:39:46 -0700 Received: from outgoing.onebox.com (unverified [172.21.6.73]) by securemail.onebox.com (Rockliffe SMTPRA 7.0.6) with SMTP id for ; Thu, 12 Jul 2007 10:39:25 -0400 Message-ID: From: cknell@onebox.com To: user@ant.apache.org Subject: RE: RE: How can I capture a file's date to a property? Date: Thu, 12 Jul 2007 10:39:24 -0400 Content-Type: text/plain; charset="iso-8859-1" X-Virus-Checked: Checked by ClamAV on apache.org That sounds like what I need. I look into it later today. Thanks. -- Charles Knell cknell@onebox.com - email -----Original Message----- From: Rebhan, Gilbert Sent: Thu, 12 Jul 2007 12:48:51 +0200 To: "Ant Users List" Subject: RE: How can I capture a file's date to a property? Hi, if you want/need to go a more ' Antlike ' way i forgot there's another possibility with the task from Antelope "... lastmodified Get the "last modified" date/timestamp of a file. .." so it gets something like (untested) when ${moddate} contains your File.lastModified i never tried that task, but the Antelope task suite is great, recommended. get it here http://antelope.tigris.org/files/documents/1409/11489/AntelopeTasks_3.4. 2.zip Regards, Gilbert -----Original Message----- From: Rebhan, Gilbert [mailto:Gilbert.Rebhan@huk-coburg.de] Sent: Thursday, July 12, 2007 11:02 AM To: Ant Users List Subject: RE: How can I capture a file's date to a property? Hi, -----Original Message----- From: cknell@onebox.com [mailto:cknell@onebox.com] Sent: Wednesday, July 11, 2007 9:21 PM To: user@ant.apache.org Subject: How can I capture a file's date to a property? /* I've have found several tasks for copying and renaming files and directories, but no way to get the file's date-stamp. */ i would go via