From d259526a699eec1ef090a4f92c1bc5a2f3dc0442 Mon Sep 17 00:00:00 2001 From: bri Date: Wed, 3 Apr 2013 14:19:41 +0000 Subject: [PATCH] build bash scripts for Linux are added --- Workspace/Siman-WS/build-war.sh | 13 +++++++++++++ Workspace/Siman/build-war.sh | 13 +++++++++++++ 2 files changed, 26 insertions(+) create mode 100755 Workspace/Siman-WS/build-war.sh create mode 100755 Workspace/Siman/build-war.sh diff --git a/Workspace/Siman-WS/build-war.sh b/Workspace/Siman-WS/build-war.sh new file mode 100755 index 0000000..8608498 --- /dev/null +++ b/Workspace/Siman-WS/build-war.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +export ANT_HOME=/usr/share/ant +export ANT_BIN=/usr/bin +#export ANT_BIN=/usr/share/ant/bin +export JAVA_HOME=/usr/java/jdk1.6.0_37 + +export PATH=${ANT_BIN}:${JAVA_HOME}/bin:${PATH} + +ant prepare-postgres +#ant prepare-mysql + +ant -f pre_build.xml && ant build-war diff --git a/Workspace/Siman/build-war.sh b/Workspace/Siman/build-war.sh new file mode 100755 index 0000000..8608498 --- /dev/null +++ b/Workspace/Siman/build-war.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +export ANT_HOME=/usr/share/ant +export ANT_BIN=/usr/bin +#export ANT_BIN=/usr/share/ant/bin +export JAVA_HOME=/usr/java/jdk1.6.0_37 + +export PATH=${ANT_BIN}:${JAVA_HOME}/bin:${PATH} + +ant prepare-postgres +#ant prepare-mysql + +ant -f pre_build.xml && ant build-war -- 2.39.2