Hi Groovy magic workers, I notice that the Windows Installer has changed quite a lot recently. It is nice and quick and the UI is simple. However: things I note in this release:
1. The supplementary extras (e.g. Jacob / scriptom) are not included at all, not even as a custom install. Not sure how to include these separately, other than to copy-paste from an older release. [I use scriptom to query the Windows Services list to start/stop/query various services]. 2. The Windows 3.0.4 installer and 3.0.5 releases are not yet on the ‘groovy-lang.org’ download site. 3. My Environment PATH variable appears to have 2 entries pointing to the new groovy home. Perhaps it edits the previous entry and then adds the new one as well. 4. It does not supply separate 64-bit executables that can be exchanged with the 32-bit executables, which might relate to the next item… 5. It defaults the install under program files (x86) – suggesting a 32-bit implementation only. Only the ‘custom’ option allows it to be put somewhere else. I then noticed that if I execute this in groovysh or in the groovyConsole: “groovy -v”.execute().waitForProcessOutput(System.out, System.err) Exception thrown java.io.IOException: Cannot run program "groovy": CreateProcess error=2, The system cannot find the file specified at ConsoleScript5.run(ConsoleScript5:1) Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified But this works “groovy.bat -v”.execute().waitForProcessOutput(System.out, System.err) Groovy Version: 3.0.3 JVM: 1.8.0_162 Vendor: Oracle Corporation OS: Windows 10 Does this suggest that the installed groovy is 32-bit when my computer and JDK are both 64-bit? My older groovy installs (going back to 2.0.4) would all work. PS – Why call groovy using “execute” rather than GroovyScriptEngine? Well some of these called scripts use System.exit (error-number) and if I use the ScriptEngine or similar, it causes my script to exit as well! Merlin Beedell 0800 280 0525 / +44 (0)207 045 0520 DDI: +44 (0)207 045 0528 Mob: +44 (0)7876 226865 Cryoserver: A focused, flexible email archive delivered by experts From: Guillaume Laforge <glafo...@gmail.com> Sent: 23 July 2020 12:51 PM To: users@groovy.apache.org; Paul King <pa...@asert.com.au> Subject: Re: [ANNOUNCE] Groovy 2.4.20, 2.5.13, and 3.0.5 Windows installers released Combo! Le jeu. 23 juil. 2020 à 12:13, Paul King <pa...@asert.com.au<mailto:pa...@asert.com.au>> a écrit : Nice! On Thu, Jul 23, 2020 at 3:07 PM Keegan Witt <keeganw...@gmail.com<mailto:keeganw...@gmail.com>> wrote: 2.4.20: https://bintray.com/groovy/Distributions/download_file?file_path=groovy-2.4.20.msi 2.5.13: https://bintray.com/groovy/Distributions/download_file?file_path=groovy-2.5.13.msi 3.0.5: https://bintray.com/groovy/Distributions/download_file?file_path=groovy-3.0.5.msi -Keegan