diff options
author | michelou <michelou@epfl.ch> | 2005-09-09 15:40:36 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2005-09-09 15:40:36 +0000 |
commit | 2bcd0daa548bf8ec6ae7e8a321eb959b42a52a04 (patch) | |
tree | 07873fd1c0af846250e087233477b2e5b99114d0 /ant-build-nsc.bat | |
parent | 441a24642bf66cb660ccd19446ec9d2abae81b1e (diff) | |
download | scala-2bcd0daa548bf8ec6ae7e8a321eb959b42a52a04.tar.gz scala-2bcd0daa548bf8ec6ae7e8a321eb959b42a52a04.tar.bz2 scala-2bcd0daa548bf8ec6ae7e8a321eb959b42a52a04.zip |
- batch file for build nsc on Windows.
Diffstat (limited to 'ant-build-nsc.bat')
-rw-r--r-- | ant-build-nsc.bat | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/ant-build-nsc.bat b/ant-build-nsc.bat new file mode 100644 index 0000000000..1828a4d745 --- /dev/null +++ b/ant-build-nsc.bat @@ -0,0 +1,37 @@ +@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
+
+: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
+ +%CP% %ANT_CONFIG_BUILDFILE% %ANT_BUILDFILE%
+ +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
|