[Client/Server] Supported fully remote access.
- [Client] groovyclient can send a valid request to groovyserver on the other machine by using -Chost and -Cauthtoken.
- [Server] you can provide an arbitrary authtoken when invoking groovyserver.
FIxed 44: caused a freeze when reading from stdin on Linux
Fixed 45: cookie file permission is 644
Fixed 46: standard out/err doesn’t flush at ruby client when the content includes no line separator
Fixed 39: Processing of Groovy cmd line args is inconsistent
Fixed 40: “System.env[name]” cannot access environment variables at client side
Fixed 41: ruby client cannot invoke groovyserver automatically in windows 7
And other small fixes and improvements are included.
Fixed #33 : When a path of GROOVY_HOME was including a white space, the invocation of groovyserver was failed at v0.8
Parsing options of Ruby client was wholly refactored. So, some bugs were fixed.
Fixed #34 : When invoking “groovyclient.rb -Cr -Cq”, -Cq was ignored
Fixed #35 : When transparently invoking groovyserver by groovyclient.rb, user script isn’t invoked
And other small fixes and improvements are included.
[Windows/Cygwin] groovyserver.bat and groovyserver(sh) were wholly improved:
- When GROOVY_HOME or GROOVYSERV_HOME isn’t set, it’s automatically detected.
- JAVA_HOME, GROOVY_HOME, GROOVYSERV_HOME and CLASSPATH are converted to the appropriate path format if necessary.
- So, you can also use groovyclient.exe to start a groovyserver on Cygwin even if you’ve set GROOVY_HOME or GROOVYSERV_HOME as an UNIX path format. (It had failed at v0.7.)
- Now there isn’t the dirty hack using ping to sleep 1 sec.
[Log File] The dump data in log file is more easy to read. Until v0.7, many printable characters except alphabet and number were printed as ”?”, but now they become being printed as original character.
[Build] Makefile is added. You can more easily build a binary of groovyclient with “make” command if the downloaded binary doesn’t work.
Fixed #28: malloc/free error occurred with a –classpath option
Fixed #30: cannot invoke a script when transparently restarting server from client
Fixed #31: “dgroovyclient -h” on Windows shows unexpected behaviors
Fixed #32: using groovyclient.rb, user.dir is based on cygwin path format on Cygwin
Fixed #14: groovyclient -Cenv -e “println System.env.HI” don’t work expectedly
Fixed #23: buffer over flow of encoding arguments as base64 in groovyclient of C
Fixed #24: groovyserver process wrongly exits on failing decoding of base64
Fixed #25: native groovyclient of v0.6 cannot be invoked with Windows 7 64bits
Fixed #26: groovyserver(sh) doesn’t take over CLASSPATH environment variable
Fixed #27: cannot access original environment variables of groovyserver
Fixed #15: Document bug about groovyserv bash script availability
Fixed #16: CWD is accidentally ovewritten by another session.
Fixed #17, #18: Wrong file privileges in *nix distribution.
Fixed #19: GROOVYSERV_HOME resolution fails when binaries are symbolic links when using SH.
Fixed #21: wrong check for -Cenv, -Cenv-exclude in groovyclient.rb.
Fixed #22: the first environment variable is sometimes not passed to server.
Supported -p, -n options of groovyclient (See help of groovy command).
Filters written in Groovy works well.
Using a environment variable USERPROFILE instead of HOME in Windows.
Improved support of invoking groovyserver on Cygwin.
Improved a process of invoking groovyserver.
Packaged not-compiled Groovy scripts into jar file in order not to depend on a particular JDK version.
Printing help message when groovyclient is run without options.
Appended date and time in debug log.
And you can also execute the following command:
$ ls | groovyclient -e "System.in.eachLine{ println it }"
Refactored groovyclient.c a little.
README has URL of the site of GitHub (and README.ja was deleted).
Upgraded Groovy 1.7.2 -> 1.7.3.
Upgraded gmaven 1.2 -> 1.3-SNAPSHOT (because GMAVEN-13 was fixed).
All tests result green in Windows environment.
Tweaked handling of character encoding in a build sequence. you can use either of the following:
- default encoding (without -Dfile.encoding in JAVA_OPTS, _JAVA_OPTIONS)
- global encoding with -Dfile.encoding in _JAVA_OPTIONS (recommend: UTF-8)
First release.