aboutsummaryrefslogtreecommitdiff
path: root/build/scripts/runAnt.sh
diff options
context:
space:
mode:
authorgregor <gregor@d688527b-c9ab-4aba-bd8d-4036d912da1d>2003-07-07 15:46:46 +0000
committergregor <gregor@d688527b-c9ab-4aba-bd8d-4036d912da1d>2003-07-07 15:46:46 +0000
commit7a433b7053eea6bd2270bdb42bc22bfb5ab8e815 (patch)
treedb0a42a3cd4deaf7968c24ae3a877e7bef1f1ecf /build/scripts/runAnt.sh
parentd5bfcf5666a3c0502abc028800e3d0f43ae6d985 (diff)
downloadmoa-id-spss-7a433b7053eea6bd2270bdb42bc22bfb5ab8e815.tar.gz
moa-id-spss-7a433b7053eea6bd2270bdb42bc22bfb5ab8e815.tar.bz2
moa-id-spss-7a433b7053eea6bd2270bdb42bc22bfb5ab8e815.zip
Initial commit
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@4 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'build/scripts/runAnt.sh')
-rw-r--r--build/scripts/runAnt.sh31
1 files changed, 31 insertions, 0 deletions
diff --git a/build/scripts/runAnt.sh b/build/scripts/runAnt.sh
new file mode 100644
index 000000000..b5fc92e24
--- /dev/null
+++ b/build/scripts/runAnt.sh
@@ -0,0 +1,31 @@
+#!/bin/sh
+
+#
+# Helper script for calling Ant
+#
+# Author: Paul Ivancsics
+# Version: $Id: runAnt.sh,v 1.9 2003/04/07 13:36:43 peck Exp $
+#
+
+
+ANT=../build/tools/jakarta-ant-1.5.1/bin/ant
+PROJECT="$1"
+BUILDFILE=build.xml
+export SCRIPT_SUFFIX=sh
+export MOA_COMMON_JAR=../common/tmp/dist/moa-common.jar
+export MOA_COMMON_TEST_JAR=../common/tmp/dist/moa-common-test.jar
+
+echo
+echo
+echo BUILDING $PROJECT
+echo
+
+
+cd ../../$PROJECT
+
+if [ "$1" == "common" ]; then
+ sh $ANT -f $BUILDFILE dist-all
+else
+ sh $ANT -f $BUILDFILE $2 $3 $4 $5 $6 $7 $8 $9
+fi
+