ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47423] New: next to attribute granularity: offset
Date Thu, 25 Jun 2009 08:24:46 GMT
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.

Mime
View raw message