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 45944] New: Bug using the file element as a nested element in the Copy task
Date Fri, 03 Oct 2008 16:31:54 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=45944

           Summary: Bug using the file element as a nested element in the
                    Copy task
           Product: Ant
           Version: 1.7.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: Core
        AssignedTo: notifications@ant.apache.org
        ReportedBy: elvanor@gentoo.org


This does not work even if you wrap these file elements in a resources element.
The last example on the manual, at URL:

http://ant.apache.org/manual/CoreTasks/copy.html

actually fails. No files are copied.

Eg, the following task

  <copy todir="dest">
        <resources>
          <file file="src_dir/file1.txt"/>
          <file file="src_dir/file2.txt"/>
        </resources>
  </copy>

won't copy any files. Filing the bug as major as a manual example breaks (!)

Note: a fileset with one element works. Maybe the <file> resource element is
just obsolete? (would be strange though).


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