From 39b27a44d63fa421bc724007d6c063d86842009e Mon Sep 17 00:00:00 2001 From: Alexander Herzog Date: Wed, 31 Mar 2021 12:07:59 +0200 Subject: [PATCH] Preparing everything for version 5.7.230 --- Simulator/build/MiniCallcenterSimulator.sh | 19 +++++++++++++++++++ Simulator/build/Setup.nsi | 2 ++ Simulator/build/Version.nsi | 2 +- Simulator/build/ant-build.xml | 4 +++- 4 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 Simulator/build/MiniCallcenterSimulator.sh diff --git a/Simulator/build/MiniCallcenterSimulator.sh b/Simulator/build/MiniCallcenterSimulator.sh new file mode 100644 index 0000000..fa4e968 --- /dev/null +++ b/Simulator/build/MiniCallcenterSimulator.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +# Runs the simulator and passes the command line arguments to the jar. + +if [ -z "$JAVA_HOME" ] +then + JAVA_RUN="java" +else + JAVA_RUN="${JAVA_HOME}/bin/java" +fi + +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" + +if [ -f "${DIR}/MiniCallcenterSimulator.jar" ] +then + ${JAVA_RUN} -jar ${DIR}/MiniCallcenterSimulator.jar $1 $2 $3 $4 $5 +else + echo Cannot find MiniCallcenterSimulator.jar. +fi diff --git a/Simulator/build/Setup.nsi b/Simulator/build/Setup.nsi index 7c0e0be..f4a9d6f 100644 --- a/Simulator/build/Setup.nsi +++ b/Simulator/build/Setup.nsi @@ -184,6 +184,7 @@ Section "Install" Inst File "..\..\Release\MiniCallcenterSimulator.jar" File "..\..\Release\MiniCallcenterSimulator.exe" + File "..\..\Release\MiniCallcenterSimulator.sh" WriteUninstaller "Uninstall.exe" SetOutPath "$INSTDIR\docs" @@ -226,6 +227,7 @@ Section "un.Uninstall" uninst Delete "$INSTDIR\MiniCallcenterSimulator.exe" Delete "$INSTDIR\MiniCallcenterSimulator.jar" + Delete "$INSTDIR\MiniCallcenterSimulator.sh" Delete "$INSTDIR\MiniCallcenterSimulator.dtd" Delete "$INSTDIR\MiniCallcenterSimulator.xsd" Delete "$INSTDIR\MiniCallcenterSimulator.cfg" diff --git a/Simulator/build/Version.nsi b/Simulator/build/Version.nsi index bb17f12..6abb37a 100644 --- a/Simulator/build/Version.nsi +++ b/Simulator/build/Version.nsi @@ -1 +1 @@ -!define VERSION "5.6.229" +!define VERSION "5.7.230" diff --git a/Simulator/build/ant-build.xml b/Simulator/build/ant-build.xml index e657522..2762848 100644 --- a/Simulator/build/ant-build.xml +++ b/Simulator/build/ant-build.xml @@ -44,6 +44,7 @@ + @@ -52,12 +53,13 @@ - + +