artifact hosts
Niclas Hedhman
niclas at hedhman.org
Sun Nov 28 02:17:44 EST 2004
On Sunday 28 November 2004 11:08, Cameron Taggart wrote:
> transit/hosts.xml file works. The ResourceHost's get loaded.
> MavenResourceHost.checkPresense() doesn't work correctly.
> openRemoteConnection() doesn't through an IOException when you pass it
> an invalid URL, say:
> http://www.dpml.net/xpp3/jars/xpp3-1.1.3.3_min.jar
>
> checkPresense() should return false in that case so that the other
> hosts have a chance.
Hmmm... You are probably right. The server would generate an error page, and
not really fail. I have added to check the Response code for Http
connections. That should be enough.
Not committed yet.
Cheers
Niclas
--
+------//-------------------+
/ http://www.dpml.net /
/ http://niclas.hedhman.org /
+------//-------------------+
More information about the dev-dpml
mailing list