mirror of https://github.com/apache/maven.git
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:
parent
af10f52f64
commit
6064280bb1
|
@ -9,8 +9,8 @@ rm -rf ${buildDir} > /dev/null 2>&1
|
|||
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 ..
|
||||
|
|
Loading…
Reference in New Issue