Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/groovy/groovy-wix
A WiX based installer for Groovy
https://github.com/groovy/groovy-wix
groovy wix
Last synced: about 1 month ago
JSON representation
A WiX based installer for Groovy
- Host: GitHub
- URL: https://github.com/groovy/groovy-wix
- Owner: groovy
- License: other
- Created: 2019-02-10T18:59:00.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-07-01T17:42:00.000Z (over 3 years ago)
- Last Synced: 2024-11-05T13:13:46.299Z (3 months ago)
- Topics: groovy, wix
- Language: Rich Text Format
- Homepage:
- Size: 416 KB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# groovy-wix
A [WiX](https://wixtoolset.org/) based installer for Groovy.
Binaries are available on [JFrog](https://groovy.jfrog.io/artifactory/dist-release-local/groovy-windows-installer/).## Required tools
* [WiX toolset 3.11](https://wixtoolset.org/releases/)
* [Visual Studio 2019](https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=Community&rel=16)
* [WIX Toolset Visual Studio 2019 Extension](https://marketplace.visualstudio.com/items?itemName=WixToolset.WixToolsetVisualStudio2019Extension)## Steps for a new release
1. Create the diectories _apache-groovy-binary_ and _apache-groovy-docs_ in the project root
1. Unzip the Groovy binary zip into _apache-groovy-binary_, without the root directory in zip
```bash
unzip apache-groovy-binary-*.zip
mv groovy-*/* apache-groovy-binary/
```
1. Unzip the Groovy docs zip into _apache-groovy-docs_, without the root directory in zip
```bash
unzip apache-groovy-docs-*.zip
mv groovy-*/* apache-groovy-docs/
```
1. 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 like
```diff
diff --git a/groovy-wix/groovy-wix.wixproj b/groovy-wix/groovy-wix.wixproj
index 3235a5a..2ded751 100644
--- a/groovy-wix/groovy-wix.wixproj
+++ b/groovy-wix/groovy-wix.wixproj
@@ -6,7 +6,7 @@
3.10
aacf45d5-532f-4ea1-8747-138dee1e93a0
2.0
- groovy-x.y.z
+ groovy-1.0.0
Package
@@ -23,7 +23,7 @@
bin\$(Configuration)\
obj\$(Configuration)\
- groovyVersion=x.y.z;binariesSourceFolder=$(SolutionDir)apache-groovy-binary;docsSourceFolder=$(SolutionDir)apache-groovy-docs
+ groovyVersion=1.0.0;binariesSourceFolder=$(SolutionDir)apache-groovy-binary;docsSourceFolder=$(SolutionDir)apache-groovy-docs
```
1. Build the solution
1. Reset the project by cleaning the solution and running the commands below
```bash
rm -r apache-groovy-binary/* apache-groovy-docs/*
git checkout groovy-wix/groovy-wix.wixproj groovy-wix/GroovyBinaries.wsx groovy-wix/GroovyDocs.wsx
```