windows batch updates

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163070 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2004-09-10 23:42:49 +00:00
parent 72952a0a7a
commit 1a509138ef
2 changed files with 29 additions and 0 deletions

View File

@ -112,6 +112,11 @@ cd ..
%MAVEN_JAVA_EXE% %MAVEN_CMD_LINE_ARGS% -jar mboot.jar %MAVEN_JAVA_EXE% %MAVEN_CMD_LINE_ARGS% -jar mboot.jar
echo Running integration tests
cd maven-core-it
call maven-core-it
cd ..
:end :end
@REM set local scope for the variables with windows NT shell @REM set local scope for the variables with windows NT shell
if "%OS%"=="Windows_NT" goto endNT if "%OS%"=="Windows_NT" goto endNT

24
maven-core-it/maven-core-it.bat Executable file
View File

@ -0,0 +1,24 @@
@REM ----------------------------------------------------------------------------
@REM Copyright 2001-2004 The Apache Software Foundation.
@REM
@REM Licensed under the Apache License, Version 2.0 (the "License");
@REM you may not use this file except in compliance with the License.
@REM You may obtain a copy of the License at
@REM
@REM http://www.apache.org/licenses/LICENSE-2.0
@REM
@REM Unless required by applicable law or agreed to in writing, software
@REM distributed under the License is distributed on an "AS IS" BASIS,
@REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@REM See the License for the specific language governing permissions and
@REM limitations under the License.
@REM ----------------------------------------------------------------------------
@REM
@ECHO OFF
@REM This process assumes that maven-core-it-verifier has been built.
@REM NOTE: for simplicity, only Windows NT/2000/XP is current supported
@REM This also assumes that M2_HOME and JAVA_HOME are set, which are verified in the bootstrap script only
%JAVA_HOME%\bin\java.exe %* -Dmaven.home=%M2_HOME% -cp "..\maven-core-it-verifier\target\maven-core-it-verifier-1.0.jar" org.apache.maven.it.Verifier