July 10, 2013

How to configure proxy settings for Grails in STS?


You can configure the proxy settings for Grails in STS IDE in two ways.

Via Grails Command Prompt:

Execute the following commands from the Grails Command Prompt.

grails>  add-proxy proxyName --host=proxyServerIPorHostName --port=proxyServerPort --username=userName --password=password

grails> set-proxy proxyName

Directly Edit the ProxySettings.groovy file:

Open the ProxySettings.groovy file located in the following path (replace userName with your windows user).

C:\Documents and Settings\userName\.grails\ProxySettings.groovy

Add the following lines into file and save the file.

client=['http.proxyHost':'proxyServerIPorHostName', 'http.proxyPort':'proxyServerPort', 'http.proxyUser':'userName', 'http.proxyPassword':'password']
currentProxy='client'

1 comment:

  1. Harrah's Cherokee Casino and Hotel - MapyRO
    Find your 계룡 출장안마 way 제주 출장마사지 around the casino, find rooms, 광주광역 출장안마 restaurants, and other gaming facilities at nearby hotels. Use our detailed 구미 출장샵 casino reviews to find the 동해 출장샵 best

    ReplyDelete