From 7a433b7053eea6bd2270bdb42bc22bfb5ab8e815 Mon Sep 17 00:00:00 2001 From: gregor Date: Mon, 7 Jul 2003 15:46:46 +0000 Subject: Initial commit git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@4 d688527b-c9ab-4aba-bd8d-4036d912da1d --- build/scripts/runAnt.bat | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 build/scripts/runAnt.bat (limited to 'build/scripts/runAnt.bat') diff --git a/build/scripts/runAnt.bat b/build/scripts/runAnt.bat new file mode 100644 index 000000000..347ad8d21 --- /dev/null +++ b/build/scripts/runAnt.bat @@ -0,0 +1,38 @@ +@echo off + +rem +rem Helper script for calling Ant +rem +rem Author: Patrick Peck +rem Version: $Id: runAnt.bat,v 1.6 2003/03/24 10:36:35 peck Exp $ +rem + + +if %OS%=="Windows_NT" @setlocal + +set ANT=..\build\tools\jakarta-ant-1.5.1\bin\ant.bat +set BUILDFILE=build.xml +set SCRIPT_SUFFIX=bat +set MOA_COMMON_JAR=..\common\tmp\dist\moa-common.jar +set MOA_COMMON_TEST_JAR=..\common\tmp\dist\moa-common-test.jar + +echo. +echo. +echo BUILDING %1 +echo. + + +cd ..\..\%1 + +:callCommon +if not "%1"=="common" goto callOther +call %ANT% -f %BUILDFILE% dist-all +goto end + +:callOther +call %ANT% -f %BUILDFILE% %2 %3 %4 %5 %6 %7 %8 %9 + +:end +cd ..\build\scripts +if %OS%=="Windows_NT" @endlocal + -- cgit v1.2.3