|
Re: using http proxy for downloading [message #7507 is a reply to message #7493] |
Thu, 20 March 2008 06:55 |
Eclipse User |
|
|
|
Originally posted by: mknauer.innoopract.com
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/proxi es.html
Markus
|
|
|
Re: using http proxy for downloading [message #576300 is a reply to message #7493] |
Thu, 20 March 2008 06:55 |
|
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/proxi es.html
Markus
--
Twitter: @mknauer23 and @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
|
Powered by
FUDForum. Page generated in 0.03347 seconds