Return-Path: Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: (qmail 82802 invoked from network); 25 Jun 2009 08:25:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Jun 2009 08:25:02 -0000 Received: (qmail 17187 invoked by uid 500); 25 Jun 2009 08:25:13 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 17140 invoked by uid 500); 25 Jun 2009 08:25:13 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 17131 invoked by uid 99); 25 Jun 2009 08:25:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jun 2009 08:25:13 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jun 2009 08:25:07 +0000 Received: by brutus.apache.org (Postfix, from userid 33) id BF56A234C051; Thu, 25 Jun 2009 01:24:46 -0700 (PDT) From: bugzilla@apache.org To: notifications@ant.apache.org Subject: DO NOT REPLY [Bug 47423] New: next to attribute granularity: offset X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ant X-Bugzilla-Component: Core tasks X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: mfrasca@zonnet.nl X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: notifications@ant.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Thu, 25 Jun 2009 01:24:46 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=47423 Summary: next to attribute granularity: offset Product: Ant Version: 1.8Alpha (nightly) Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: Core tasks AssignedTo: notifications@ant.apache.org ReportedBy: mfrasca@zonnet.nl just sharing with the community, an extra attribute we find useful for the core task tstamp in org.apache.tools.ant.taskdefs.TStamp.java one of the things we often have to do is to schedule a task that has to work with the output saved in files which are named as their timestamp with granularity 15 minutes. e.g.: 20090625T101500 we want to name our files so that they are "close" to the input files and we decided to use the original timestamp, offset by one or more minutes. e.g.: 20090625T101600 20090625T101700 etc. for this we use the granularity attribute described in #45089 and a similar offset attribute, whose implementation is just as trivial. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.