summaryrefslogtreecommitdiff
path: root/ant-common.bat
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2005-09-09 15:40:36 +0000
committermichelou <michelou@epfl.ch>2005-09-09 15:40:36 +0000
commit2bcd0daa548bf8ec6ae7e8a321eb959b42a52a04 (patch)
tree07873fd1c0af846250e087233477b2e5b99114d0 /ant-common.bat
parent441a24642bf66cb660ccd19446ec9d2abae81b1e (diff)
downloadscala-2bcd0daa548bf8ec6ae7e8a321eb959b42a52a04.tar.gz
scala-2bcd0daa548bf8ec6ae7e8a321eb959b42a52a04.tar.bz2
scala-2bcd0daa548bf8ec6ae7e8a321eb959b42a52a04.zip
- batch file for build nsc on Windows.
Diffstat (limited to 'ant-common.bat')
-rw-r--r--ant-common.bat29
1 files changed, 29 insertions, 0 deletions
diff --git a/ant-common.bat b/ant-common.bat
new file mode 100644
index 0000000000..1db6f81572
--- /dev/null
+++ b/ant-common.bat
@@ -0,0 +1,29 @@
+@echo off
+rem ####################################################-*-Batch-script-*-####
+rem # Common settings
+rem ##########################################################################
+rem # $Id$
+
+rem ##########################################################################
+rem # Apache Ant
+
+set _ANTCMD=ant
+set ANT_OPTS=-Xmx256M
+rem set ANT_ARGS=-verbose
+
+rem ##########################################################################
+rem # Shell commands
+
+set CP=cp
+set ECHO=echo
+set RM=del /s /q
+
+rem ##########################################################################
+rem # environment setup
+
+echo Setting up the build environment..
+echo.
+call %_ANTCMD% -Dplatform=win -q -f setenv-nsc.xml >NUL
+call env.bat
+
+rem ##########################################################################