summaryrefslogtreecommitdiff
path: root/ant-test-nsc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ant-test-nsc.sh')
-rwxr-xr-xant-test-nsc.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/ant-test-nsc.sh b/ant-test-nsc.sh
index 556d75bf00..93f130ef63 100755
--- a/ant-test-nsc.sh
+++ b/ant-test-nsc.sh
@@ -15,5 +15,12 @@ export CLASSPATH
# for debugging your classpath
#echo $CLASSPATH
+if [ -f developer/${USER}/test-nsc-excludes.xml ]; then
+ sed -e "s/userExcludes\ \"\"/userExcludes\ SYSTEM\ \"developer\/${USER}\/test-nsc-excludes.xml\"/" < test-nsc.xml > concrete-test-nsc.xml;
+ else
+ ln -s test-nsc.xml concrete-test-nsc.xml;
+fi
+
+ant -f concrete-test-nsc.xml $*
+rm -f concrete-test-ncs.xml
-ant -f test-nsc.xml $*