summaryrefslogtreecommitdiff
path: root/ant-test-nsc.bat
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2005-09-12 12:23:28 +0000
committermichelou <michelou@epfl.ch>2005-09-12 12:23:28 +0000
commitc188ae171c2f02b7789b43d5a77591140cfc4f32 (patch)
tree344c14a4f6cfb909579d5bae65ea608299b04872 /ant-test-nsc.bat
parent675b73f5c46ce638b0e59a3019c7078d869f2ad5 (diff)
downloadscala-c188ae171c2f02b7789b43d5a77591140cfc4f32.tar.gz
scala-c188ae171c2f02b7789b43d5a77591140cfc4f32.tar.bz2
scala-c188ae171c2f02b7789b43d5a77591140cfc4f32.zip
- moved handling of Ant buildfile to ant-common...
- moved handling of Ant buildfile to ant-common.bat
Diffstat (limited to 'ant-test-nsc.bat')
-rw-r--r--ant-test-nsc.bat64
1 files changed, 29 insertions, 35 deletions
diff --git a/ant-test-nsc.bat b/ant-test-nsc.bat
index d6a884e245..d232ff5f06 100644
--- a/ant-test-nsc.bat
+++ b/ant-test-nsc.bat
@@ -1,37 +1,31 @@
-@echo off
-rem #####################################################-*-Bash-script-*-####
-rem # Test nsc
-rem ##########################################################################
-rem # $Id$
-
-if "%OS%"=="Windows_NT" @setlocal
-
-set _ANTCMD_ARGS=%1
-if ""%1""=="""" goto doneStart
-shift
-:setupArgs
-if ""%1""=="""" goto doneStart
-set _ANTCMD_ARGS=%_ANTCMD_ARGS% %1
-shift
+@echo off
+rem #####################################################-*-Bash-script-*-####
+rem # Test nsc
+rem ##########################################################################
+rem # $Id$
+
+if "%OS%"=="Windows_NT" @setlocal
+
+set _ANTCMD_ARGS=%1
+if ""%1""=="""" goto doneStart
+shift
+:setupArgs
+if ""%1""=="""" goto doneStart
+set _ANTCMD_ARGS=%_ANTCMD_ARGS% %1
+shift
goto setupArgs
-
-:doneStart
-call ant-common.bat
-
-rem ##########################################################################
-rem # ant build
-
-set ANT_CONFIG_BUILDFILE=test-nsc.xml
-set ANT_BUILDFILE=concrete-%ANT_CONFIG_BUILDFILE%
-set ANT_EXCLUDEFILE=developer/%USERNAME%/test-nsc-excludes.xml
-
-%CP% %ANT_CONFIG_BUILDFILE% %ANT_BUILDFILE%
-
+
+:doneStart
+call ant-common.bat test-nsc
+
+rem ##########################################################################
+rem # ant build
+
set CLASSPATH=%nsc_fjbg_jar%;%nsc_scala_jar%;%nsc_tools_jar%;%nsc_nsc_jar%;%nsc_nsc4ant_jar%
-%_ANTCMD% -Dplatform=win -f %ANT_BUILDFILE% %_ANTCMD_ARGS%
-
-%RM% %ANT_BUILDFILE%
-
-##############################################################################
-
-if "%OS%"=="Windows_NT" @endlocal
+%_ANTCMD% -Dplatform=win -f %ANT_BUILDFILE% %_ANTCMD_ARGS%
+
+%RM% %ANT_BUILDFILE%
+
+##############################################################################
+
+if "%OS%"=="Windows_NT" @endlocal