ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 47362] New: Copy task failonerror does not fail for <resource><url>....</url></resource>
Date Fri, 12 Jun 2009 14:33:57 GMT

           Summary: Copy task failonerror does not fail for
           Product: Ant
           Version: 1.7.0
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks

<copy todir="my_dir" failonerror="true" flatten="true">
   <url url="http://iAmABadURL/ThatDoesNotExist/ConnectionRefused/myfile.txt"

If you have a copy task that copies from a URL where the server is down or does
not exist a, or a will
be thrown.

Even though these exceptions are thrown and failonerror="true" in the copy
task, the build will continue on.

Now lets say the URL is valid and the file doesn't exist on the server.  A
filenot found exception will be thrown and the build will fail as it should.

This looks like a bug to me?

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message