jstrachan    2002/06/13 05:13:03

  Added:       src/bin  cp.bat maven.bat
  Log:
  Added windoze scripts for running Maven from the command line
  
  Revision  Changes    Path
  1.1                  jakarta-turbine-maven/src/bin/cp.bat
  
  Index: cp.bat
  ===================================================================
  set CP=%1;%CP%
  
  
  
  
  1.1                  jakarta-turbine-maven/src/bin/maven.bat
  
  Index: maven.bat
  ===================================================================
  @echo off
  
  if "%MAVEN_HOME%" == "" goto error
  
  set CP=
  for %%i in (%MAVEN_HOME%\lib\*.jar) do call cp.bat %%i
  set CP=%JAVA_HOME%\lib\tools.jar;%CP%
  
  java -classpath "%CP%" -Dmaven.home=%MAVEN_HOME% org.apache.commons.jelly.Jelly 
%MAVEN_HOME%\bin\driver.jelly %*
  
  goto end
  
  :error
  
  echo ERROR: MAVEN_HOME not found in your environment.
  echo Please, set the MAVEN_HOME variable in your environment to match the
  echo location of the Maven installation
  
  :end
  
  set LOCALCLASSPATH=
  
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to