Swisspost 460d0e0780 sVote source code publication | 5 years ago | |
---|---|---|
.. | ||
src | 5 years ago | |
.gitignore | 5 years ago | |
LICENSE | 5 years ago | |
README.md | 5 years ago | |
SDM-launch4j-32.xml | 5 years ago | |
SDM-launch4j-64.xml | 5 years ago | |
config.sh | 5 years ago | |
package.xml | 5 years ago | |
pom.xml | 5 years ago |
Contains all the scripts that are necessary for the creation of Secure Data Manager Installer.
The packaging with izpack is done with an Izpack Docker image: 10.4.0.107:5000/izpack. In order to pack it execute the following command:
sudo docker run -v $WORKSPACE:/install --name izpack 10.4.0.107:5000/izpack compile -b /install /install/install.xml
$WORKSPACE is the location where install.xml is. After the packaging is finished you will see install.jar in the workspace folder.
The packaging from jar to exe is done with a Launch4j Docker image: 10.4.0.107:5000/launch4j.
sudo docker run -v $WORKSPACE:/install --name launch4j 10.4.0.107:5000/launch4j java -jar /launch4j/launch4j.jar launch4j-config-file.xml
$WORKSPACE is the location where install.jar file is.
In order to install it in Linux run:
sudo java -Duser.home=$HOME -jar install.jar