IBM Support

How to configure proxy settings for Eclipse

Question & Answer


Question

How do you configure proxy settings for Eclipse for use with IBM Rational Team Concert?

Cause

Eclipse has proxy settings on Window > Preference > General > Network Connections; however, it does not work correctly because of Eclipse Bug 364992.

Answer

There are two alternative ways to configure proxy settings for Eclipse.

  • Add proxy settings at the bottom of eclipse.ini as follows:

    Note:
    If the proxy server does not require any authentications, you do not have to add http.proxyUser and proxyPassword.


    -Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient
    -Dhttp.proxyPort=9443
    -Dhttp.proxyHost=squid.jkebanking.net
    -Dhttp.proxyUser=clmadmin
    -Dhttp.proxyPassword=clmadmin

  • Add org.eclipse.core.net.prefs into <workspace>\.metadata\.plugins\org.eclipse.core.runtime\.settings.
    The contents of org.eclipse.core.net.prefs should look as follows:


    systemProxiesEnabled=false
    proxiesEnabled=true
    proxyData/HTTP/host=squid.jkebanking.net
    proxyData/HTTP/hasAuth=true
    proxyData/HTTP/port=9080
    eclipse.preferences.version=1
    proxyData/HTTPS/port=9443
    proxyData/HTTPS/hasAuth=true
    proxyData/HTTPS/host=squid.jkebanking.net
    org.eclipse.core.net.hasMigrated=true

[{"Product":{"code":"SSUC3U","label":"IBM Engineering Workflow Management"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Eclipse","Platform":[{"code":"PF022","label":"OS X"},{"code":"PF033","label":"Windows"},{"code":"PF016","label":"Linux"}],"Version":"3.0.1;3.0.1.1;3.0.1.2;3.0.1.3;3.0.1.4;3.0.1.5;3.0.1.6;4.0;4.0.0.1;4.0.0.2;4.0.1;4.0.2;4.0.3;4.0.4","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Product Synonym

Rational Team Concert

Document Information

Modified date:
16 June 2018

UID

swg21653193