Updates are as follows:
1. Option to bundle Groovy
-bg/--bundlegroovy option has been added. You can use the option to bundle Groovy instead to specify Groovy libraries directly.
----
> cat src\PrintHello.groovy
println 'hello'
> groovy Gj.groovy -bg -s src -m PrintHello printhello.jar
> java -jar printhello.jar
hello
----
2. The default Java version for javac
The default java version for javac has been changed to be the same version on your system.
3. Option to print Gj version
-ver/--version option has been added. You can use the option to check the Gj version.
----
> groovy Gj.groovy -ver
Gj version: 11.05.05
----
You can download new version from here. Please try it out ;-)
Cool. But the new folder does not contain a gj.jar file.
ReplyDeleteFYI There is also http://groovy.codehaus.org/WrappingGroovyScript :)
ReplyDelete> Cool. But the new folder does not contain a gj.jar file.
ReplyDeleteThank you, bootz15. I've put new version of gj.jar there.
>FYI There is also http://groovy.codehaus.org/WrappingGroovyScript :)
Yeah, I noticed there is the script after the first release of Gj. But I guess Gj has better points, for example, you can specify libraries to bundle without modifying script :-)
I removed the jar versions because I found that the jar versions have problem to bundle other not included versions of Groovy.
ReplyDelete