Author: jfrederic.clere(a)jboss.com
Date: 2010-01-13 04:50:47 -0500 (Wed, 13 Jan 2010)
New Revision: 2613
Modified:
trunk/build/unix/build.sh
Log:
It seems ant uses /System/Library/Frameworks/JavaVM.framework/Home.
mod_cluster build fails because of that.
Modified: trunk/build/unix/build.sh
===================================================================
--- trunk/build/unix/build.sh 2010-01-12 15:52:05 UTC (rev 2612)
+++ trunk/build/unix/build.sh 2010-01-13 09:50:47 UTC (rev 2613)
@@ -281,7 +281,7 @@
BUILD_CPU=ppc
# Add the default java location
if [ "x${JAVA_HOME}" = "x" ]; then
- JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/
+ JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home
export JAVA_HOME
fi
;;
@@ -328,7 +328,7 @@
build_expat=true
fi
if [ "x${JAVA_HOME}" = "x" ]; then
- JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/
+ JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home
export JAVA_HOME
java -version 2>/dev/null
if [ $? -ne 0 ]; then
Show replies by date