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