You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Jim LoVerde (JIRA)" <ji...@apache.org> on 2009/03/05 19:55:57 UTC

[jira] Created: (IVY-1042) Add support for using ivysettings.xml properties in HttpClientHandler

Add support for using ivysettings.xml properties in HttpClientHandler
---------------------------------------------------------------------

                 Key: IVY-1042
                 URL: https://issues.apache.org/jira/browse/IVY-1042
             Project: Ivy
          Issue Type: Improvement
            Reporter: Jim LoVerde


Currently, the only way to set proxy settings is via the http.proxy* system properties.  However, Ivy has the ability to specify properties in the ivysettings.xml file as well.  So this request is to add support for looking for properties from ivysettings.xml if they aren't found in the system properties.  For example, by adding this to the ivysettings.xml:

    <property name="http.proxyHost" value="myproxy" />
    <property name="http.proxyPort" value="8080" />

This way ivysettings.xml files that point to corporate proxy servers could be checked into version control to avoid each team member having to specify this.  However, if for some reason they need to override those settings, they could do so by setting system properties.

It looks like supporting this would require a change to the HttpClientHandler.configureProxy method and also to pass the settings object into the URLHandlerRegistry singleton initialization (or optionally just to stuff the properties into a Properties object and pass that into the URLHandlerRegistry singleton initialization).



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.