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 49070] New: failonerror doesn't work for Copy task
Date Thu, 08 Apr 2010 07:54:42 GMT
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: notifications@ant.apache.org
        ReportedBy: res1st@web.de


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.

Mime
View raw message