]> SALOME platform Git repositories - tools/siman.git/commitdiff
Salome HOME
build bash scripts for Linux are added
authorbri <bri@opencascade.com>
Wed, 3 Apr 2013 14:19:41 +0000 (14:19 +0000)
committerbri <bri@opencascade.com>
Wed, 3 Apr 2013 14:19:41 +0000 (14:19 +0000)
Workspace/Siman-WS/build-war.sh [new file with mode: 0755]
Workspace/Siman/build-war.sh [new file with mode: 0755]

diff --git a/Workspace/Siman-WS/build-war.sh b/Workspace/Siman-WS/build-war.sh
new file mode 100755 (executable)
index 0000000..8608498
--- /dev/null
@@ -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 (executable)
index 0000000..8608498
--- /dev/null
@@ -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