Groovy script startup delay when using HttpBuilder Grape

Posted by & filed under groovy.

If you are using Grapes to download dependency at runtime for your groovy script, you can see big delay on script startup. When you first run script, it makes sense, because Groovy is resolving dependencies and downloading all required jars, but why there is still delay on next launches? Because some maven artifacts specify that… Read more »

Parsing HTML pages like a boss with Groovy

Posted by & filed under groovy.

Remember I told you that Groovy is really good for scripting? Time for some proof. Lets say you want to download and parse some html page and get the content of the third list on page. How do you do that? Using URL and Regular expressions? Here I`ll tell you how it can be done… Read more »

Couple words about Groovy

Posted by & filed under groovy.

Before I introduce Grails to you, I want to write a little bit about Groovy, because it is used as the main language in grails. What is Groovy? Groovy is a dynamic language build on top of Java Virtual Machine whose features are inspired by the success of languages like Python, Ruby and smalltalk. Lets go… Read more »