From: bri Date: Wed, 3 Apr 2013 14:19:41 +0000 (+0000) Subject: build bash scripts for Linux are added X-Git-Tag: Root_Delivery2_2013_04_22~63 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d259526a699eec1ef090a4f92c1bc5a2f3dc0442;p=tools%2Fsiman.git build bash scripts for Linux are added --- 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