Return-Path: X-Original-To: apmail-ant-user-archive@www.apache.org Delivered-To: apmail-ant-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A6D497DA9 for ; Tue, 29 Nov 2011 09:54:14 +0000 (UTC) Received: (qmail 89329 invoked by uid 500); 29 Nov 2011 09:54:11 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 89199 invoked by uid 500); 29 Nov 2011 09:54:08 -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 89140 invoked by uid 99); 29 Nov 2011 09:54:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Nov 2011 09:54:06 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [88.84.128.168] (HELO samaflost.de) (88.84.128.168) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Nov 2011 09:53:59 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by samaflost.de (Postfix) with ESMTP id A83C528985D1 for ; Tue, 29 Nov 2011 10:53:38 +0100 (CET) Received: from samaflost.de ([127.0.0.1]) by localhost (v35516.1blu.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6GVp1jkVhsK7 for ; Tue, 29 Nov 2011 10:53:38 +0100 (CET) Received: by samaflost.de (Postfix, from userid 1000) id 343C728985D2; Tue, 29 Nov 2011 10:53:38 +0100 (CET) From: Stefan Bodewig To: user@ant.apache.org Subject: Re: Use Ant with an arbitrary date References: Date: Tue, 29 Nov 2011 10:53:38 +0100 In-Reply-To: (Emma Burrows's message of "Tue, 29 Nov 2011 09:23:54 +0000") Message-ID: <87wrajmezh.fsf@v35516.1blu.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On 2011-11-29, Emma Burrows wrote: > So I was wondering if there was some way of using 's > cache-based approach to only copy the files that have been modified > since a given date/time like "17.00 last Thursday" instead of "last > time this script was run". This is a job for the date selector rather than the modified selector. Since this one is purely based on last modified dates you wouldn't need to calculate hashes and cache them anyway. You may need some coding to calculate the date to pass in. may help but this probably becomes brittle pretty soon. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org