From 668fd244b554e0b01fede11d443948b25eed277a Mon Sep 17 00:00:00 2001 From: Hannes Braun Date: Tue, 16 Jun 2020 17:50:55 +0200 Subject: [PATCH] Add ant script to generate a release zip --- .gitignore | 3 +-- magmaFatProxy.xml | 50 +++++++++++++++++++++++++++++++++++++++++++++++ scripts/start.sh | 30 ++++++++++++++++++++++++++++ 3 files changed, 81 insertions(+), 2 deletions(-) create mode 100644 magmaFatProxy.xml create mode 100644 scripts/start.sh diff --git a/.gitignore b/.gitignore index b6a668d..27fc278 100755 --- a/.gitignore +++ b/.gitignore @@ -27,8 +27,7 @@ util/excel/~$*.* test.xml /result.properties -jar/build/ -jar/out/ +jar/ log/ *.TMP *.java-* diff --git a/magmaFatProxy.xml b/magmaFatProxy.xml new file mode 100644 index 0000000..8fcba0b --- /dev/null +++ b/magmaFatProxy.xml @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/scripts/start.sh b/scripts/start.sh new file mode 100644 index 0000000..bbfa65d --- /dev/null +++ b/scripts/start.sh @@ -0,0 +1,30 @@ +#******************************************************************************* +# Copyright 2008 - 2020 Hochschule Offenburg +# +# This file is part of magmaOffenburg. +# magmaOffenburg is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# magmaOffenburg is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with magmaOffenburg. If not, see . +#******************************************************************************* +#!/bin/bash +########################################### +# Starts a magmaFatProxy +# example: bash start.sh 127.0.0.1 3100 3110 +########################################### + +if [ $# -ne 3 ]; then + echo "Usage: $0 " + exit 1 +fi + +cd "$(dirname "$0")" +java -jar magmaFatProxy.jar --server=$1 --serverport=$2 --proxyport=$3