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 Sun, 13 Nov 2011 19:54:25 GMT

Stephan Piesker <> changed:

           What    |Removed                     |Added
             Status|NEW                         |NEEDINFO

--- Comment #3 from Stephan Piesker <> 2011-11-13 19:54:25
UTC ---
OK, I can reproduce this issue. But I am of the opinion it is correct. <import
optional="true"> means that the script should continue in the event of an
The manual is:
Optional | If true, do not exist stop the build if the file does not, default
is false.

You want that the script will continue running in the event of an error.
It does this well and you know indicates that there is an error
when you import the file was foo.x.
The problem I see in the Tag <url>, because this would cause the error.
First, by the Tag <url> trying to open a file and the error happens there.
Import realize that something went wrong and continues.
In <import> there is one attribute that file names.
Why do you use <url>?
Hereby it should work:

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

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

View raw message