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 48008] New: touch task truncates timestamps
Date Thu, 15 Oct 2009 23:34:17 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=48008

           Summary: touch task truncates timestamps
           Product: Ant
           Version: 1.7.1
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: notifications@ant.apache.org
        ReportedBy: alex-pub.apache-ant@reflexion.net


When I use a touch task with a mapper
<touch
  mkdirs="true"
  verbose="${TALK}"
>
  <fileset dir="${orig-dir}"/>
  <globmapper from="*" to="${shadow-dir}/*"/>
</touch>

Produces empty files that are OLDER than sources.
After running this task and using ls --time-style=full-iso, I get the following
timestamp for source:
   2009-09-30 07:44:26.290894100 -0400

And this timestamp for target
   2009-09-30 07:44:26.290000000 -0400

Notice that target now is older than source.

This breaks <ant-contrib:outofdate> task later on.

-- 
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