ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 8503] New: - JAVA_HOME undefined in Project Builder
Date Thu, 25 Apr 2002 07:26:05 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8503>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8503

JAVA_HOME undefined in Project Builder

           Summary: JAVA_HOME undefined in Project Builder
           Product: Ant
           Version: 1.4.1
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Wrapper scripts
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: ak@prnet.de


I tried to run ant in Apple's Project Builder. Unfortunately, the JAVA_HOME variable is 
not defined per se on OS X. Now, I could set this in a build setting, but as there is only
one 
JDK fo OS X, the most reasonable thing would be to add this early in the "$ANT_HOME/bin/
ant" script.
--
if $darwin ; then
  if [ -z "$JAVA_HOME" ] ; then
    JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home   
  fi
fi
--

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message