summaryrefslogtreecommitdiff
path: root/ant-build-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-build-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-build-nsc.bat')
-rw-r--r--ant-build-nsc.bat58
1 files changed, 26 insertions, 32 deletions
diff --git a/ant-build-nsc.bat b/ant-build-nsc.bat
index 1828a4d745..0261879732 100644
--- a/ant-build-nsc.bat
+++ b/ant-build-nsc.bat
@@ -1,37 +1,31 @@
@echo off
-rem ####################################################-*-Batch-script-*-####
-rem # Build 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
-
+rem ####################################################-*-Batch-script-*-####
+rem # Build 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=build-nsc.xml
-set ANT_BUILDFILE=concrete-%ANT_CONFIG_BUILDFILE%
-set ANT_EXCLUDEFILE=developer/%USERNAME%/build-nsc-excludes.xml
+call ant-common.bat build-nsc
-%CP% %ANT_CONFIG_BUILDFILE% %ANT_BUILDFILE%
+rem ##########################################################################
+rem # ant build
set CLASSPATH=%nsc_fjbg_jar%;%nsc_scala_jar%;%nsc_tools_jar%;%nsc_jaco_jar%
-%_ANTCMD% -Dplatform=win -f %ANT_BUILDFILE% %_ANTCMD_ARGS%
-
-%RM% %ANT_BUILDFILE%
-
-rem ##########################################################################
-
-if "%OS%"=="Windows_NT" @endlocal
+%_ANTCMD% -Dplatform=win -f %ANT_BUILDFILE% %_ANTCMD_ARGS%
+
+%RM% %ANT_BUILDFILE%
+
+rem ##########################################################################
+
+if "%OS%"=="Windows_NT" @endlocal