File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Groovy and the fly likes Third Party Modules with Grape (HTTPBuilder in particular) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Languages » Groovy
Bookmark "Third Party Modules with Grape (HTTPBuilder in particular)" Watch "Third Party Modules with Grape (HTTPBuilder in particular)" New topic
Author

Third Party Modules with Grape (HTTPBuilder in particular)

J Solomon
Ranch Hand

Joined: Oct 08, 2012
Posts: 30
I'm currently running Groovy 1.8.8 on Java 1.6.0_16. I have a grails project that I'm trying to make simple get requests to and HTTPBuilder looks like just the tool for this type of job. I've hit a brick wall with this and I'm not sure where to go from here. I've used Grape to install the http-builder module via the following command:



Looks like Grape picks up the dependencies and installs everything:



Now I would assume that if i fired up a groovy console, I would be able to import any of these classes, but I'm not able to:


but I get the following error:


Am I missing something here?

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Third Party Modules with Grape (HTTPBuilder in particular)