ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim LoVerde (JIRA)" <j...@apache.org>
Subject [jira] Created: (IVY-1042) Add support for using ivysettings.xml properties in HttpClientHandler
Date Thu, 05 Mar 2009 18:55:57 GMT
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.


Mime
View raw message