continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r190654 - in /maven/continuum/trunk: build.bat continuum-plexus-application/build.bat
Date Tue, 14 Jun 2005 20:01:02 GMT
Author: evenisse
Date: Tue Jun 14 13:01:01 2005
New Revision: 190654

URL: http://svn.apache.org/viewcvs?rev=190654&view=rev
Log:
Add build script for windows.

Added:
    maven/continuum/trunk/build.bat
    maven/continuum/trunk/continuum-plexus-application/build.bat

Added: maven/continuum/trunk/build.bat
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/build.bat?rev=190654&view=auto
==============================================================================
--- maven/continuum/trunk/build.bat (added)
+++ maven/continuum/trunk/build.bat Tue Jun 14 13:01:01 2005
@@ -0,0 +1,39 @@
+@echo off
+@REM Decide how to startup depending on the version of windows
+
+@REM -- Win98ME
+if NOT "%OS%"=="Windows_NT" goto Win9xArg
+
+@REM -- 4NT shell
+if "%eval[2+2]" == "4" goto 4NTArgs
+
+@REM -- Regular WinNT shell
+set MAVEN_CMD_LINE_ARGS=%*
+goto endInit
+
+@REM The 4NT Shell from jp software
+:4NTArgs
+set MAVEN_CMD_LINE_ARGS=%$
+goto endInit
+
+:Win9xArg
+@REM Slurp the command line arguments.  This loop allows for an unlimited number
+@REM of agruments (up to the command line limit, anyway).
+set MAVEN_CMD_LINE_ARGS=
+:Win9xApp
+if %1a==a goto endInit
+set MAVEN_CMD_LINE_ARGS=%MAVEN_CMD_LINE_ARGS% %1
+shift
+goto Win9xApp
+
+@REM Reaching here means variables are defined and arguments have been captured
+:endInit
+
+SET INCLUDES=continuum-api/pom.xml,continuum-cc/pom.xml,continuum-core/pom.xml,continuum-model/pom.xml,continuum-web/pom.xml,continuum-xmlrpc/pom.xml
+
+call m2 -N install %MAVEN_CMD_LINE_ARGS%
+call m2 -r -Dmaven.reactor.includes=*/pom.xml clean:clean %MAVEN_CMD_LINE_ARGS%
+call m2 -r -Dmaven.reactor.includes="%INCLUDES%" install %MAVEN_CMD_LINE_ARGS%
+cd continuum-plexus-application
+call build.bat %MAVEN_CMD_LINE_ARGS%
+cd ..

Added: maven/continuum/trunk/continuum-plexus-application/build.bat
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-plexus-application/build.bat?rev=190654&view=auto
==============================================================================
--- maven/continuum/trunk/continuum-plexus-application/build.bat (added)
+++ maven/continuum/trunk/continuum-plexus-application/build.bat Tue Jun 14 13:01:01 2005
@@ -0,0 +1,31 @@
+@REM Decide how to startup depending on the version of windows
+
+@REM -- Win98ME
+if NOT "%OS%"=="Windows_NT" goto Win9xArg
+
+@REM -- 4NT shell
+if "%eval[2+2]" == "4" goto 4NTArgs
+
+@REM -- Regular WinNT shell
+set MAVEN_CMD_LINE_ARGS=%*
+goto endInit
+
+@REM The 4NT Shell from jp software
+:4NTArgs
+set MAVEN_CMD_LINE_ARGS=%$
+goto endInit
+
+:Win9xArg
+@REM Slurp the command line arguments.  This loop allows for an unlimited number
+@REM of agruments (up to the command line limit, anyway).
+set MAVEN_CMD_LINE_ARGS=
+:Win9xApp
+if %1a==a goto endInit
+set MAVEN_CMD_LINE_ARGS=%MAVEN_CMD_LINE_ARGS% %1
+shift
+goto Win9xApp
+
+@REM Reaching here means variables are defined and arguments have been captured
+:endInit
+
+call m2 clean:clean package plexus:bundle-application plexus:test-runtime 
\ No newline at end of file



Mime
View raw message