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
Date Wed, 15 Dec 2004 13:23:44 GMT
evenisse    2004/12/15 05:23:44

  Modified:    maven-mboot2 build
  Log:
  Use $JAVA_HOME for javac and jar command instead of version in $PATH
  
  Revision  Changes    Path
  1.7       +2 -2      maven-components/maven-mboot2/build
  
  Index: build
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-mboot2/build,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- build	5 Dec 2004 04:12:25 -0000	1.6
  +++ build	15 Dec 2004 13:23:43 -0000	1.7
  @@ -9,8 +9,8 @@
   mkdir -p ${classesDir}
   
   #javac -d ${classesDir} ${srcDir}/*.java
  -javac -d ${classesDir} `find ${srcDir} -name '*.java'`
  +$JAVA_HOME/bin/javac -d ${classesDir} `find ${srcDir} -name '*.java'`
   
  -( cd ${classesDir} ; jar -cfm ../mboot.jar ../../manifest.txt * )
  +( cd ${classesDir} ; $JAVA_HOME/bin/jar -cfm ../mboot.jar ../../manifest.txt * )
   
   cp ${buildDir}/mboot.jar ..
  
  
  

Mime
View raw message