diff options
Diffstat (limited to 'ant-common.bat')
-rw-r--r-- | ant-common.bat | 50 |
1 files changed, 32 insertions, 18 deletions
diff --git a/ant-common.bat b/ant-common.bat index 1db6f81572..565f09ffb6 100644 --- a/ant-common.bat +++ b/ant-common.bat @@ -1,29 +1,43 @@ @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 ####################################################-*-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 CP=copy /y set ECHO=echo set RM=del /s /q -
-rem ##########################################################################
-rem # environment setup
-
-echo Setting up the build environment..
+ +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 ##########################################################################
+rem ########################################################################## + +set ANT_CONFIG_BUILDFILE=%1.xml +set ANT_BUILDFILE=concrete-%ANT_CONFIG_BUILDFILE% +set ANT_EXCLUDEFILE=developer/%USERNAME%/%1-excludes.xml + +if exist "%ANT_EXCLUDEFILE%" goto exclude +%CP% %ANT_CONFIG_BUILDFILE% %ANT_BUILDFILE% +goto next +:exclude +echo %ANT_EXCLUDEFILE% file not yet supported +%CP% %ANT_CONFIG_BUILDFILE% %ANT_BUILDFILE% +:next + +rem ########################################################################## |