diff options
author | Burak Emir <emir@epfl.ch> | 2005-07-30 23:18:59 +0000 |
---|---|---|
committer | Burak Emir <emir@epfl.ch> | 2005-07-30 23:18:59 +0000 |
commit | 526917486633c5f69aab6fe64021b2c0998b74c6 (patch) | |
tree | 7235b51e6842ee8e39fdd39b8ab8c4358ab9e1cf /ant-common.sh | |
parent | 7df39b24cf872a65203769cb76a9f0cd90d979b5 (diff) | |
download | scala-526917486633c5f69aab6fe64021b2c0998b74c6.tar.gz scala-526917486633c5f69aab6fe64021b2c0998b74c6.tar.bz2 scala-526917486633c5f69aab6fe64021b2c0998b74c6.zip |
userExclude feature for build and test infrastr...
userExclude feature for build and test infrastructure
Diffstat (limited to 'ant-common.sh')
-rwxr-xr-x | ant-common.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ant-common.sh b/ant-common.sh new file mode 100755 index 0000000000..7da266bd54 --- /dev/null +++ b/ant-common.sh @@ -0,0 +1,19 @@ +#!/bin/sh + +export ANT_OPTS=-Xmx256m + +awk '/^$/ {next;} /^#/ {next;} {print "export " $1 $2 $3}' build-nsc.properties > env.sh + +. env.sh + +# ------- don't change these, change build-nsc.properties instead + +function addJar() { # string -> void + if [ -f $1 ]; then + CLASSPATH=$1:$CLASSPATH; + return 0; + else + echo you supplied $1 for $2, but it does not exists; + return -1; + fi +} |