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 48001] New: Touch task with fileset and a mapper does not create new files.
Date Thu, 15 Oct 2009 16:02:58 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=48001

           Summary: Touch task with fileset and a mapper does not create
                    new files.
           Product: Ant
           Version: 1.7.1
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: notifications@ant.apache.org
        ReportedBy: alex-pub.apache-ant@reflexion.net


I am trying to create a shadow directory to keep the timestamps of the files in
the original directory tree.

For this I have tried to use the <touch> task with fileset and a glob mapper.

    <mkdir dir="${shadow.dir}/>

    <touch mkdirs="true" verbose="true">
      <fileset dir="${orig.dir}"/>
      <globmapper handledirsep="true"
        from="${orig.dir}/*"
        to="${shadow.dir}/*"
      />
    </touch>

Based on the description of the <touch> task I should have a collection of
empty files in ${shadow.dir} at the same level as original files in
${orig.dir}.

However no directory structure is created.
Using <pathconvert> with the same <fileset> and <mapper> produced a valid
file
list.

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