Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Command Line Proxy Configuration Support(Patch to support proxy configuration specified from command line.)
Command Line Proxy Configuration Support [message #505248] Mon, 28 December 2009 22:49 Go to next message
Scott Hendrickson is currently offline Scott HendricksonFriend
Messages: 22
Registered: December 2009
Junior Member
I'm behind the infamous NTLMv2 proxy. I can configure Eclipse to access the network following the instructions here:

http://wiki.eclipse.org/ECF_Filetransfer_Support_for_NTLMv2_ Proxies

However, my institution additionally changes the username and password frequently. Thus, I'd like to be able to specify the proxy username and password via the command line *every* time I run eclipse. I'm running automated, headless checkout/build/publish commands in eclipse, so updating the username and password each time via the GUI is not an option.

Currently, the username and password specified at the command line are only used once, to create the initial username and password. subsequent instantiations of Eclipse use the username and password stored in the preferences and ignore those specified at the command line.

For example, running Eclipse with "-vmargs -Dhttp.proxyUser=userA" for the first time will store "userA" in preferences for the manually configured proxy settings. Then, when I run Eclipse a second time, but with "-vmargs -Dhttp.proxyUser=differenUserName", the manual proxy settings still use the "userA" username. The same is true for passwords.

I need the proxy settings specified by command line parameters to always be used.

I've created a patch that adds support for a a "command line" proxy provider, which I believe will address the problem. It uses the command line parameters only (before they are mangled by other providers and proxy provider selections). I'd be happy to post this patch, but don't seem to have permission to do so. I'd also be happy to e-mail it to someone who could give me feedback.

Thank you,
-- Scott

[Updated on: Mon, 28 December 2009 23:04]

Report message to a moderator

Re: Command Line Proxy Configuration Support [message #505792 is a reply to message #505248] Tue, 05 January 2010 03:22 Go to previous message
Scott Hendrickson is currently offline Scott HendricksonFriend
Messages: 22
Registered: December 2009
Junior Member
Would a different forum be a better place to post this?
Any idea on how to post a patch?
Should I go straight to opening a bug?

Thanks,
-- Scott
Previous Topic:Problem: unicode quotation marks in gcc4 compiler messages
Next Topic:How to sum up packages?
Goto Forum:
  


Current Time: Wed Apr 24 19:09:09 GMT 2024

Powered by FUDForum. Page generated in 0.04278 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top