ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject svn commit: r1096615 - /ant/core/trunk/release.sh
Date Mon, 25 Apr 2011 21:39:53 GMT
Author: antoine
Date: Mon Apr 25 21:39:52 2011
New Revision: 1096615

URL: http://svn.apache.org/viewvc?rev=1096615&view=rev
Log:
adding a linux blurb

Modified:
    ant/core/trunk/release.sh

Modified: ant/core/trunk/release.sh
URL: http://svn.apache.org/viewvc/ant/core/trunk/release.sh?rev=1096615&r1=1096614&r2=1096615&view=diff
==============================================================================
--- ant/core/trunk/release.sh (original)
+++ ant/core/trunk/release.sh Mon Apr 25 21:39:52 2011
@@ -23,10 +23,12 @@ unset ANT_HOME
 cygwin=false;
 darwin=false;
 mingw=false;
+linux=false;
 case "`uname`" in
   CYGWIN*) cygwin=true ;;
   Darwin*) darwin=true;;
   MINGW*) mingw=true ;;
+  Linux) linux=true ;;
 esac
 # running first build under JDK 1.4 under cygwin
 if $cygwin ; then
@@ -46,6 +48,10 @@ if $darwin; then
    export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home
    JDK_VERSION=1.6
 fi  
+if $linux; then
+   export JAVA_HOME=/usr/lib/jvm/java-6-openjdk
+   JDK_VERSION=1.6
+fi
 export PATH=$JAVA_HOME/bin:$PATH
 echo ANT_HOME=$ANT_HOME
 echo JAVA_HOME=$JAVA_HOME



Mime
View raw message