If you have proxy server requirements and want to configure your http(s) proxy to work with Liferay Dev Studio, follow the instructions below.
Navigate to Eclipse’s Window → Preferences → General → Network Connections menu.
Set the Active Provider drop-down selector to Manual.
Under Proxy entries, configure both proxy HTTP and HTTPS by clicking the field and selecting the Edit button.
For each schema (HTTP and HTTPS), enter your proxy server’s host, port, and authentication settings (if necessary).
Note: Do not leave whitespace at the end of your proxy host or port settings.
Once you’ve configured your proxy entry, click OK → OK.
If you’re working with a Liferay Workspace in Dev Studio, you’ll need to configure your proxy settings for that environment too. See the Setting Proxy Requirements for Liferay Workspace for more details.
Awesome! You’ve successfully configured Dev Studio’s proxy settings!
Some Eclipse plugins do not properly check the
core.net proxy infrastructure
when setting proxy settings via Window → Preferences → General
→ Network Connections. Therefore, you may need to configure additional
To do so, open the
eclipse.ini file associated with your Eclipse installation
and add the following entries:
-vmargs -Dhttp.proxyHost=www.somehost.com -Dhttp.proxyPort=1080 -Dhttp.proxyUser=userId -Dhttp.proxyPassword=somePassword -Dhttps.proxyHost=www.somehost.com -Dhttps.proxyPort=1080 -Dhttps.proxyUser=userId -Dhttps.proxyPassword=somePassword
After saving the file, restart Eclipse. Now your additional proxy settings are applied!