Grails hip tip: working behind a proxy?

Posted by: Andrew Glover on 2009-09-22 14:53:00.0

If you find yourself behind a bogue proxy when working with Grails, you might find it difficult to download various plug-ins. Nevertheless, the Grails team already solved this problem for you — simply issue the set-proxy command via the command line and a nifty script will prompt you for any required credentials.

Once you finish configuring your proxy’s settings, Grails will create a file dubbed ProxyConfig.groovy in your .grails/scripts directory which contains all required information and which will be leveraged by Grails going forward — for example, in downloading and installing plug-ins.

You can now follow The Disco Blog on Twitter, baby!


be the first to rate this blog


About Andrew Glover

Andrew is the founder of the easyb BDD framework and the co-author of Addison Wesley's "Continuous Integration", Manning's "Groovy in Action" and "Java Testing Patterns". He is an author for multiple online publications including IBM's developerWorks and Oreilly's ONJava and ONLamp portals. He actively blogs about software at thediscoblog.com.