ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 51829] URLResource.connect() logs as error when URL.openConnection() fails
Date Fri, 11 Nov 2011 21:15:21 GMT changed:

           What    |Removed                     |Added
             Status|NEEDINFO                    |NEW

--- Comment #2 from 2011-11-11 21:15:21 UTC ---
Here's a script that demonstrates the problem:

    <import optional="true">
        <url file="foo.x" />

When I run this I get:

Buildfile: C:\Development\projects\ant-playground\url-resource-error\build.xml
C:\Development\projects\ant-playground\url-resource-error\foo.x (The system
cannot find the file specified)

Total time: 0 seconds

I made the import optional so even though the file doesn't exist the build
works.  But why print out the error message?

I have users of my build script asking me that; worse, our jenkins builds flag
that as some kind of critical problem.

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

View raw message