ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 48008] New: touch task truncates timestamps
Date Thu, 15 Oct 2009 23:34:17 GMT

           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

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

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:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message