diff options
author | michelou <michelou@epfl.ch> | 2005-09-09 15:41:49 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2005-09-09 15:41:49 +0000 |
commit | ce8cd951e79b99ede189120b59e43d7924fd9fb0 (patch) | |
tree | 434db025a1270996c1f002df07190af2f318976d /ant-common.sh | |
parent | 2bcd0daa548bf8ec6ae7e8a321eb959b42a52a04 (diff) | |
download | scala-ce8cd951e79b99ede189120b59e43d7924fd9fb0.tar.gz scala-ce8cd951e79b99ede189120b59e43d7924fd9fb0.tar.bz2 scala-ce8cd951e79b99ede189120b59e43d7924fd9fb0.zip |
- moved some operations to Ant buildfile.
Diffstat (limited to 'ant-common.sh')
-rwxr-xr-x | ant-common.sh | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/ant-common.sh b/ant-common.sh index 631134580b..df29b1865b 100755 --- a/ant-common.sh +++ b/ant-common.sh @@ -13,7 +13,6 @@ export ANT_OPTS='-Xmx256M' ############################################################################## # Shell commands -AWK=awk CP=cp ECHO=echo RM='rm -f' @@ -22,23 +21,7 @@ SED=sed ############################################################################## # set user environment -$AWK '/^$/ {next;} /^#/ {next;} {print "export " $1 $2 $3}' \ - build-nsc.properties > env.sh - +$ANT_CMD -Dplatform=unix -q -f setenv-nsc.xml . env.sh -# ------- don't change these, change build-nsc.properties instead - -function addJar() { # string -> void - local jarfile="$1"; shift 1; - local jarname="$1"; - if [ -f $jarfile ]; then - CLASSPATH=$jarfile:$CLASSPATH; - return 0; - else - $ECHO you supplied $jarfile for $jarname, but it does not exists; - return -1; - fi -} - ############################################################################## |