[jboss-cvs] JBossAS SVN: r109457 - branches/JBPAPP_5_1_datagrid/cluster/src/installers/datagrid.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Nov 24 13:31:45 EST 2010
Author: rachmatowicz at jboss.com
Date: 2010-11-24 13:31:45 -0500 (Wed, 24 Nov 2010)
New Revision: 109457
Added:
branches/JBPAPP_5_1_datagrid/cluster/src/installers/datagrid/build.bat
Log:
Add build.bat file to datagrid installer (JBPAPP-5466)
Added: branches/JBPAPP_5_1_datagrid/cluster/src/installers/datagrid/build.bat
===================================================================
--- branches/JBPAPP_5_1_datagrid/cluster/src/installers/datagrid/build.bat (rev 0)
+++ branches/JBPAPP_5_1_datagrid/cluster/src/installers/datagrid/build.bat 2010-11-24 18:31:45 UTC (rev 109457)
@@ -0,0 +1,99 @@
+ at echo off
+
+REM ======================================================================
+REM
+REM This is the main entry point for the build system.
+REM
+REM Users should be sure to execute this file rather than 'ant' to ensure
+REM the correct version is being used with the correct configuration.
+REM
+REM ======================================================================
+REM
+REM $Id: build.bat 61858 2007-03-29 17:19:26Z dimitris at jboss.org $
+
+REM ******************************************************
+REM Ignore the ANT_HOME variable: we want to use *our*
+REM ANT version and associated JARs.
+REM ******************************************************
+REM Ignore the users classpath, cause it might mess
+REM things up
+REM ******************************************************
+
+SETLOCAL
+
+set NOPAUSE=true
+set CLASSPATH=
+set ANT_HOME=
+
+set ANT_OPTS=-Xmx256m -Dbuild.script=build.bat
+
+REM ******************************************************
+REM - "for" loops have been unrolled for compatibility
+REM with some WIN32 systems.
+REM ******************************************************
+
+set NAMES=tools;tools\ant;tools\apache\ant
+set SUBFOLDERS=..;..\..;..\..\..;..\..\..\..
+
+REM ******************************************************
+REM ********Save the command line arguments***************
+REM ******************************************************
+set BUILD_ARGS=%1
+if ""%1""=="""" goto completedArgs
+shift
+:processArg
+if ""%1""=="""" goto completedArgs
+set BUILD_ARGS=%BUILD_ARGS% %1
+shift
+goto processArg
+
+:completedArgs
+
+REM ******************************************************
+REM ******************************************************
+
+SET EXECUTED=FALSE
+for %%i in (%NAMES%) do call :subLoop %%i %BUILD_ARGS%
+
+goto :EOF
+
+REM ******************************************************
+REM ********* Search for names in the subfolders *********
+REM ******************************************************
+
+:subLoop
+for %%j in (%SUBFOLDERS%) do call :testIfExists %%j\%1\bin\ant.bat %BUILD_ARGS%
+
+goto :EOF
+
+REM ******************************************************
+REM ************ Test if ANT Batch file exists ***********
+REM ******************************************************
+
+:testIfExists
+if exist %1 call :BatchFound %1 %BUILD_ARGS%
+
+goto :EOF
+
+REM ******************************************************
+REM ************** Batch file has been found *************
+REM ******************************************************
+
+:BatchFound
+if (%EXECUTED%)==(FALSE) call :ExecuteBatch %1 %BUILD_ARGS%
+set EXECUTED=TRUE
+
+goto :EOF
+
+REM ******************************************************
+REM ************* Execute Batch file only once ***********
+REM ******************************************************
+
+:ExecuteBatch
+echo Calling %1 %BUILD_ARGS%
+call %1 %BUILD_ARGS%
+
+:end
+
+if "%NOPAUSE%" == "" pause
+
Property changes on: branches/JBPAPP_5_1_datagrid/cluster/src/installers/datagrid/build.bat
___________________________________________________________________
Name: svn:executable
+ *
More information about the jboss-cvs-commits
mailing list