ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 52632] JAVA_HOME incorrectly defined in ant shell script for Mac OS X 10.7 (Lion)
Date Thu, 09 Feb 2012 19:02:51 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=52632

--- Comment #1 from ashirazi@codesherpas.com 2012-02-09 19:02:51 UTC ---
If the ant script must set a JAVA_HOME, I would suggest basing it on the
calculated JAVACMD. For example:

if [ -L "$JAVACMD" ]; then JAVA_HOME=`readlink "$JAVACMD"`/../..; else
JAVA_HOME="$JAVA_CMD"/../..; fi

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message