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: [email protected]
        ReportedBy: [email protected]


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.

Reply via email to