@Grab Support in IntelliJ IDEA
Recently I wrote about the great Grape stuff in Groovy for use when deploying groovy scripts. Just wanted to give a quick view on what IDEA can do for you with some of the latest JetGroovy support for @Grab annotations. With my projects I use maven for building, and as such, I have my dependencies [...]
April 21, 2010
·
polesen ·
No Comments
Tags: grab, grape, groovy, IDEA, plugin · Posted in: Programming, Tools
Groovy Grape – Adding Dependencies to Root ClassLoader
When using grape in groovy to download dependencies and add to classpath, they will by default be added to the GroovyClassLoader when the script is run. This can be a problem, if these dependencies needs to be uses from classes higher in the classloader hierarchy. One common example would be when loading JDBC drivers, because [...]
April 19, 2010
·
polesen ·
4 Comments
Tags: grab, grape, groovy, jdbc · Posted in: Programming
Easy Groovy Script Deployment with Grape
You can use groovy for lots of stuff, but many of us use it for simple, one-off administration tasks like upgrading a database schema, doing some reporting or other small tasks. Given the absolute great integration of groovy into the Java platform, a groovy script quickly ends up utilizing a bunch of jar dependencies from [...]
April 18, 2010
·
polesen ·
2 Comments
Tags: deployment, grab, grape, groovy, ivy · Posted in: Programming
Compile Time Meta Programming in Groovy
Today at gr8conf–which by the way is a grait conference–I heard Guillaume LaForge, talk about the new stuff in groovy 1.6. One of those being AST transformations or what they call compile time meta programming. Through annotations, one is able to tell the compiler to change the code, before it is producing actual byte-code output [...]
May 18, 2009
·
polesen ·
No Comments
Tags: groovy · Posted in: Programming
