Newsletter sign-up
View all newsletters

Enterprise Java Newsletter
Stay up to date on the latest tutorials and Java community news posted on JavaWorld

JavaWorld Daily Brew

JW Blogs > The Disco Blog >

Grails hip tip: working behind a proxy?


Your rating: None

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!

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <p> <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <br /> <br> <strike>
  • Lines and paragraphs break automatically.
  • Use <!--pagebreak--> to create page breaks.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

CAPTCHA
Just checking to see if you're an actual person rather than a spammer. Sorry for the inconvenience.