summaryrefslogtreecommitdiff
path: root/ant-build-nsc.sh
diff options
context:
space:
mode:
authorBurak Emir <emir@epfl.ch>2005-07-30 23:18:59 +0000
committerBurak Emir <emir@epfl.ch>2005-07-30 23:18:59 +0000
commit526917486633c5f69aab6fe64021b2c0998b74c6 (patch)
tree7235b51e6842ee8e39fdd39b8ab8c4358ab9e1cf /ant-build-nsc.sh
parent7df39b24cf872a65203769cb76a9f0cd90d979b5 (diff)
downloadscala-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-build-nsc.sh')
-rwxr-xr-xant-build-nsc.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/ant-build-nsc.sh b/ant-build-nsc.sh
index 6b15ce300e..0769f443b8 100755
--- a/ant-build-nsc.sh
+++ b/ant-build-nsc.sh
@@ -14,5 +14,11 @@ export CLASSPATH
# for debugging your classpath
#echo $CLASSPATH
+if [ -f developer/${USER}/build-nsc-excludes.xml ]; then
+ sed -e "s/userExcludes\ \"\"/userExcludes\ SYSTEM\ \"developer\/${USER}\/build-nsc-excludes.xml\"/" < build-nsc.xml > concrete-build-nsc.xml;
+ else
+ ln -s build-nsc.xml concrete-build-nsc.xml;
+fi
-ant -f build-nsc.xml $*
+ant -f concrete-build-nsc.xml $*
+rm -f concrete-build-nsc.xml