ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hol...@apache.org
Subject cvs commit: jakarta-ant/src/script ant
Date Mon, 29 Apr 2002 21:35:17 GMT
holtdl      02/04/29 14:35:16

  Modified:    src/script ant
  Log:
  Set JAVA_HOME for OS/X. (PR 8503)
  
  Revision  Changes    Path
  1.19      +5 -2      jakarta-ant/src/script/ant
  
  Index: ant
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/script/ant,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- ant	29 Apr 2002 11:45:06 -0000	1.18
  +++ ant	29 Apr 2002 21:35:16 -0000	1.19
  @@ -26,7 +26,11 @@
   darwin=false;
   case "`uname`" in
     CYGWIN*) cygwin=true ;;
  -  Darwin*) darwin=true ;;
  +  Darwin*) darwin=true
  +           if [ -z "$JAVA_HOME" ] ; then
  +             JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home   
  +           fi
  +           ;;
   esac
   
   if [ -z "$ANT_HOME" ] ; then
  @@ -145,7 +149,6 @@
         done
       fi
     fi
  -
   else
     echo "Warning: JAVA_HOME environment variable is not set."
     echo "  If build fails because sun.* classes could not be found"
  
  
  

--
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