[ 
https://jira.codehaus.org/browse/MECLIPSE-696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=279563#comment-279563
 ] 

Barrie Treloar commented on MECLIPSE-696:
-----------------------------------------

Added catch of SocketException which can happend when additional config file is 
a URL.
Fixed finally block to use IOUtil.close() instead of stream.close (which throws 
exceptions and was not handled correctly in the out catch block.
Added EclipsePlugin.socketexception to messages

> Allow file contents to be obtained from url or location does not work behind 
> a firewall
> ---------------------------------------------------------------------------------------
>
>                 Key: MECLIPSE-696
>                 URL: https://jira.codehaus.org/browse/MECLIPSE-696
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.3
>            Reporter: Barrie Treloar
>            Assignee: Arnaud Heritier
>             Fix For: 2.5
>
>
> See MECLIPSE-219
> The code uses raw getURL connections and the integration tests fail for 
> testProject44 because the can not connect.
> {code:title=EclipsePlugin.writeAdditionalConfig()}
> inStream = file.getURL().openConnection().getInputStream();
> {code}
> I tried setting -Dhttp.proxyHost as additional args the tests but this 
> doesn't appear to work.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to