Grails hip tip: working behind a proxy?

how-to
Sep 22, 20091 min

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!
andrew_glover

When Andrew Glover isn't listening to “Funkytown” or “Le Freak” he enjoys speaking on the No Fluff Just Stuff Tour. He also writes articles for multiple online publications including IBM's developerWorks and O'Reilly’s ONJava and ONLamp portals. Andrew is also the co-author of Java Testing Patterns, which was published by Wiley in September 2004; Addison-Wesley’s Continuous Integration; and Manning’s Groovy in Action.

More from this author