A WiX based installer for Groovy. Binaries are available on JFrog.
Or
- Create the directories apache-groovy-binary and apache-groovy-docs in the project root
- Unzip the Groovy binary zip into apache-groovy-binary, without the root directory in zip
unzip apache-groovy-binary-*.zip mv groovy-*/* apache-groovy-binary/
- Unzip the Groovy docs zip into apache-groovy-docs, without the root directory in zip
unzip apache-groovy-docs-*.zip mv groovy-*/* apache-groovy-docs/
- Replace
x.y.z
with the Groovy version in groovy-wix.wixproj (this can be edited in Visual Studio by editing the Output name on the Installer tab, and the Define preprocessor variables on the _Build tab in the properties of the groovy-wix WIX project). The result will be something likediff --git a/groovy-wix/groovy-wix.wixproj b/groovy-wix/groovy-wix.wixproj index 070304a..8c602d0 100644 --- a/groovy-wix/groovy-wix.wixproj +++ b/groovy-wix/groovy-wix.wixproj @@ -3,8 +3,8 @@ <EnableDefaultCompileItems>false</EnableDefaultCompileItems> </PropertyGroup> <PropertyGroup> - <OutputName>groovy-x.y.z</OutputName> - <DefineConstants>groovyVersion=x.y.z;binariesSourceFolder=$(SolutionDir)apache-groovy-binary;docsSourceFolder=$(SolutionDir)apache-groovy-docs</DefineConstants> + <OutputName>groovy-5.0.0</OutputName> + <DefineConstants>groovyVersion=5.0.0;binariesSourceFolder=$(SolutionDir)apache-groovy-binary;docsSourceFolder=$(SolutionDir)apache-groovy-docs</DefineConstants> <WixVariables> </WixVariables> </PropertyGroup>
- Build the solution
- Reset the project by cleaning the solution and running the commands below
rm -r apache-groovy-binary/* apache-groovy-docs/* git checkout groovy-wix/groovy-wix.wixproj groovy-wix/GroovyBinaries.wsx groovy-wix/GroovyDocs.wsx