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 51829] URLResource.connect() logs as error when URL.openConnection() fails
Date Mon, 14 Nov 2011 13:44:40 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=51829

rich@steelezone.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #4 from rich@steelezone.net 2011-11-14 13:44:40 UTC ---
This is a simplified example--I can't share the actual code--that reproduces
the problem.  I'm aware of what optional on <import> means.  That's also why I
use a <url> resource instead of a file attribute on <import> because the
problem is with URLResource.

My complaint is only about the error message logged to the console during the
build: it prints out java.io.FileNotFoundException message even though the
build is fine.  The build worked, so why log this message?

My recommendation is to simply remove the log statement (or reduce its severity
to DEBUG) in URLResource at line 376.

-- 
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