[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[News.eclipse.technology.packaging] Re: using http proxy for downloading

Tomasz Pik wrote:

> Hello,
> 
> I'm working on custom packaging and it looks that it would be very
> useful for me to use http proxy for downloading features/plugins.
> Is it possible to configure EPP builder to use http proxy?
> If yes - how to do such a thing?
> 
> Thanks in advance,
> Tomek

Yes, that's easy. You have to set the following Java properties on the
command line or in your launch configuration: http.proxyHost,
http.proxyPort.

If you are starting EPP from within Eclipse, you have to add these
properties to the vm parameters with 
-Dhttp.proxyhost=IP.adr.of.the.server  -Dhttp.proxyport=8080, if you are
starting the EPP build from command line you can set it with 

  eclipse otherParams... -vm -Dhttp.proxyhost=myproxy -Dhttp.proxyport=8000

For more information about that topic have a look at
http://java.sun.com/javase/6/docs/technotes/guides/net/proxies.html

Markus