9 May 11:19
Re: Unable to run Groovy
Bonjour Maurice, On 09/05/05, Maurice Diamantini <Maurice.Diamantini@...> wrote: > Just a question: > Why "commons-cli.jar" is not included in "groovy-all-1.0-jsr-01.jar" > This little jar is request for a java application which want to > behave as > groovy > i.e. to be lauch by a first unix line : > > #!/bin/env myAppli > some groovy code > > Or perhaps groovy-all could be rename as groovy-almost-allHehehe, LOL
)) More seriously, groovy-all only contains groovy.jar, and asm-*.jar and antlr.jar (those last two being "transfered" to their own namespace to avoid clashes with other versions of the same jars on your classpath). "groovy-all" is targeted at embedded uses of Groovy in other Java applications, hence, only the very strict minimum vital is in that global jar. If you want to use the command line tools, you also need commons-cli, and potentially some other jars available in your GROOVY_HOME/lib directory. If you need unit testing, you'll have to add JUnit on your classpath, etc... -- -- Guillaume Laforge http://glaforge.free.fr/weblog/?catid=2
Hehehe, LOL
))
More seriously, groovy-all only contains groovy.jar, and asm-*.jar and
antlr.jar (those last two being "transfered" to their own namespace to
avoid clashes with other versions of the same jars on your classpath).
"groovy-all" is targeted at embedded uses of Groovy in other Java
applications, hence, only the very strict minimum vital is in that
global jar.
If you want to use the command line tools, you also need commons-cli,
and potentially some other jars available in your GROOVY_HOME/lib
directory.
If you need unit testing, you'll have to add JUnit on your classpath, etc...
RSS Feed