JavaDude's Groovy Snippets

July 26, 2010

Add libraries to groovyConsole ?

Filed under: groovy — Tags: , , , — admin @ 8:25 am

For little experiments and trying snippets of Groovy-Code the console is good enough. But soon you will realize, you need more libraries. You can either manually add them via “Script | Add jar file to classpath” (every time you open the console you would need to do this) or, for a permanent solution, copy it into you Groovy Home / lib folder, but that is not a  proper approach, rather copy the desired files into .groovy/lib in your user home directory (Linux).

groovyConsole

Add libraries

Powered by WordPress