maven-m2-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From car...@apache.org
Subject cvs commit: maven-components/maven-mboot2 build.bat
Date Sat, 16 Apr 2005 04:16:29 GMT
carlos      2005/04/15 21:16:29

  Modified:    maven-core-it maven-core-it.bat
               maven-mboot2 build.bat
  Log:
  Fix issue when JAVA_HOME contains spaces
  
  Revision  Changes    Path
  1.3       +1 -1      maven-components/maven-core-it/maven-core-it.bat
  
  Index: maven-core-it.bat
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-core-it/maven-core-it.bat,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- maven-core-it.bat	30 Sep 2004 08:49:20 -0000	1.2
  +++ maven-core-it.bat	16 Apr 2005 04:16:29 -0000	1.3
  @@ -20,5 +20,5 @@
   @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
  +"%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
   
  
  
  
  1.8       +2 -2      maven-components/maven-mboot2/build.bat
  
  Index: build.bat
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-mboot2/build.bat,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- build.bat	6 Dec 2004 10:46:36 -0000	1.7
  +++ build.bat	16 Apr 2005 04:16:29 -0000	1.8
  @@ -11,11 +11,11 @@
   mkdir %classesDir%
   
   dir /B /s %srcDir%\*.java >sources
  -%JAVA_HOME%\bin\javac -d %classesDir% @sources
  +"%JAVA_HOME%\bin\javac" -d %classesDir% @sources
   del /F/Q sources
   
   cd %classesDir% 
  -%JAVA_HOME%\bin\jar -cfm ..\mboot.jar ..\..\manifest.txt *.*
  +"%JAVA_HOME%\bin\jar" -cfm ..\mboot.jar ..\..\manifest.txt *.*
   cd ..\..
   
   copy %buildDir%\mboot.jar ..
  
  
  

Mime
View raw message