maven-m2-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject cvs commit: maven-components/maven-mboot2 build.bat
Date Mon, 06 Dec 2004 10:46:36 GMT
evenisse    2004/12/06 02:46:36

  Modified:    maven-mboot2 build.bat
  Log:
  Fix mboot build.
  
  Revision  Changes    Path
  1.7       +21 -19    maven-components/maven-mboot2/build.bat
  
  Index: build.bat
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-mboot2/build.bat,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- build.bat	5 Dec 2004 04:35:13 -0000	1.6
  +++ build.bat	6 Dec 2004 10:46:36 -0000	1.7
  @@ -1,19 +1,21 @@
  -@echo off
  -
  -set buildDir=target
  -set classesDir=%buildDir%\classes
  -set srcDir=src\main\java
  -
  -if exist %classesDir% rmdir /S/Q %buildDir%
  -if exist %buildDir% rmdir /S/Q %buildDir%
  -
  -mkdir %buildDir%
  -mkdir %classesDir%
  -
  -%JAVA_HOME%\bin\javac -d %classesDir% %srcDir%\*.java
  -
  -cd %classesDir% 
  -%JAVA_HOME%\bin\jar -cfm ..\mboot.jar ..\..\manifest.txt *.*
  -cd ..\..
  -
  -copy %buildDir%\mboot.jar ..
  +@echo off
  +
  +set buildDir=target
  +set classesDir=%buildDir%\classes
  +set srcDir=src\main\java
  +
  +if exist %classesDir% rmdir /S/Q %buildDir%
  +if exist %buildDir% rmdir /S/Q %buildDir%
  +
  +mkdir %buildDir%
  +mkdir %classesDir%
  +
  +dir /B /s %srcDir%\*.java >sources
  +%JAVA_HOME%\bin\javac -d %classesDir% @sources
  +del /F/Q sources
  +
  +cd %classesDir% 
  +%JAVA_HOME%\bin\jar -cfm ..\mboot.jar ..\..\manifest.txt *.*
  +cd ..\..
  +
  +copy %buildDir%\mboot.jar ..
  
  
  

Mime
View raw message