https://issues.apache.org/bugzilla/show_bug.cgi?id=49070
Summary: failonerror doesn't work for Copy task
Product: Ant
Version: 1.8.0
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Core tasks
AssignedTo: [email protected]
ReportedBy: [email protected]
The following copy fails the build, if not file for fileDoesNotExist*.jar is
found.
<copy tofile="d:\tmp\test.jar" failonerror="false">
<fileset dir="D:\tmp">
<filename name="fileDoesNotExist*.jar"/>
</fileset>
</copy>
Reason:
The method validateAttributes of class copy doesn't check for failonerror and
always throws an build exception.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.