Setting Proxy Requirements for Liferay Developer Studio

If you have proxy server requirements and want to configure your http(s) proxy to work with Liferay Developer Studio, follow the instructions below.

  1. Navigate to Eclipse’s WindowPreferencesGeneralNetwork Connections menu.

  2. Set the Active Provider drop-down selector to Manual.

  3. Under Proxy entries, configure both proxy HTTP and HTTPS by clicking the field and selecting the Edit button.

    Figure 1: You can configure your proxy settings in Developer Studios Network Connections menu.

    Figure 1: You can configure your proxy settings in Developer Studio's Network Connections menu.

  4. 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.

  5. Once you’ve configured your proxy entry, click OKOK.

If you’re working with a Liferay Workspace in Developer 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 Liferay Developer Studio’s proxy settings!

Additional Proxy Settings

Some Eclipse plugins do not properly check the core.net proxy infrastructure when setting proxy settings via WindowPreferencesGeneralNetwork Connections. Therefore, you may need to configure additional proxy settings.

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!

« Creating a Liferay Workspace with Liferay Developer StudioUpdating Liferay Developer Studio »
Este artigo foi útil?
Utilizadores que acharam útil: 0 de 0