--- /dev/null
+#!/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
--- /dev/null
+#!/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