Skip to content

Commit

Permalink
Preparing everything for version 5.7.230
Browse files Browse the repository at this point in the history
  • Loading branch information
A-Herzog committed Mar 31, 2021

Verified

This commit was signed with the committer’s verified signature.
cjihrig Colin Ihrig
1 parent 67a634b commit 39b27a4
Showing 4 changed files with 25 additions and 2 deletions.
19 changes: 19 additions & 0 deletions Simulator/build/MiniCallcenterSimulator.sh
Original file line number Diff line number Diff line change
@@ -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
2 changes: 2 additions & 0 deletions Simulator/build/Setup.nsi
Original file line number Diff line number Diff line change
@@ -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"
2 changes: 1 addition & 1 deletion Simulator/build/Version.nsi
Original file line number Diff line number Diff line change
@@ -1 +1 @@
!define VERSION "5.6.229"
!define VERSION "5.7.230"
4 changes: 3 additions & 1 deletion Simulator/build/ant-build.xml
Original file line number Diff line number Diff line change
@@ -44,6 +44,7 @@
<arg value="Launcher.nsi" />
</exec>
<move file="${BuildTools.location}/MiniCallcenterSimulator.exe" tofile="${Release.location}/MiniCallcenterSimulator.exe" />
<copy file="${BuildTools.location}/MiniCallcenterSimulator.sh" tofile="${Release.location}/MiniCallcenterSimulator.sh" />

<echo message="Generate installer" />
<exec executable="${NSIS.location}\makensis.exe" dir="${BuildTools.location}">
@@ -52,12 +53,13 @@

<echo message="Generate zip package" />
<zip destfile="${Release.location}/MiniCallcenterSimulator.zip">
<zipfileset dir="${Release.location}" includes="MiniCallcenterSimulator.jar,MiniCallcenterSimulator.exe,docs/**,libs/**,tools/**"/>
<zipfileset dir="${Release.location}" includes="MiniCallcenterSimulator.jar,MiniCallcenterSimulator.exe,MiniCallcenterSimulator.sh,docs/**,libs/**,tools/**"/>
</zip>

<echo message="Clean up" />
<delete file="${Release.location}/MiniCallcenterSimulator.exe" />
<delete file="${Release.location}/MiniCallcenterSimulator.jar" />
<delete file="${Release.location}/MiniCallcenterSimulator.sh" />
<delete dir="${Release.location}/docs" />
<delete dir="${Release.location}/libs" />
<delete dir="${Release.location}/tools" />

0 comments on commit 39b27a4

Please sign in to comment.