Issue
If you are using grails on a windows box, you may face an issue while setting the grails proxy using the 'grails add-proxy' command. This is because of the way windows treats any paramters that you pass using the -- option and sets the host name and the port to boolean values.
Resolution
You just need to pass your parameters in double quotes.
Example:
(Your proxy settings can be found in the %user_home%\.grails\ProxySettings file.
You can try changing this file with correct values manually also)
If you are using grails on a windows box, you may face an issue while setting the grails proxy using the 'grails add-proxy' command. This is because of the way windows treats any paramters that you pass using the -- option and sets the host name and the port to boolean values.
Resolution
You just need to pass your parameters in double quotes.
Example:
grails add-proxy proxy1 "--host=someproxyserver" "--port= 8080"Pretty easy!
grails set-proxy proxy1
(Your proxy settings can be found in the %user_home%\.grails\ProxySettings file.
You can try changing this file with correct values manually also)
No comments:
Post a Comment