From 2bcd0daa548bf8ec6ae7e8a321eb959b42a52a04 Mon Sep 17 00:00:00 2001 From: michelou Date: Fri, 9 Sep 2005 15:40:36 +0000 Subject: - batch file for build nsc on Windows. --- ant-test-nsc.bat | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 ant-test-nsc.bat (limited to 'ant-test-nsc.bat') diff --git a/ant-test-nsc.bat b/ant-test-nsc.bat new file mode 100644 index 0000000000..d6a884e245 --- /dev/null +++ b/ant-test-nsc.bat @@ -0,0 +1,37 @@ +@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% + +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 -- cgit v1.2.3