Use $JAVA_HOME for javac and jar command instead of version in $PATH

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163252 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Emmanuel Venisse 2004-12-15 13:23:43 +00:00
parent af10f52f64
commit 6064280bb1
1 changed files with 2 additions and 2 deletions

View File

@ -9,8 +9,8 @@ rm -rf ${buildDir} > /dev/null 2>&1
mkdir -p ${classesDir} mkdir -p ${classesDir}
#javac -d ${classesDir} ${srcDir}/*.java #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 .. cp ${buildDir}/mboot.jar ..