Browse Source

Yet another uncommon file system layout on AIX, submitted by Henri Gomez

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@448058 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 19 years ago
parent
commit
630e898f20
2 changed files with 6 additions and 1 deletions
  1. +3
    -0
      WHATSNEW
  2. +3
    -1
      src/script/ant

+ 3
- 0
WHATSNEW View File

@@ -17,6 +17,9 @@ Fixed bugs:

* nested fileset in <cab> did not work. Bugzilla report 39439.

* the ant wrapper script should now correctly locate the java
executable in more recent IBM JDKs for AIX as well.

Other changes:
--------------



+ 3
- 1
src/script/ant View File

@@ -129,9 +129,11 @@ ANT_LIB="${ANT_HOME}/lib"

if [ -z "$JAVACMD" ] ; then
if [ -n "$JAVA_HOME" ] ; then
# IBM's JDK on AIX uses strange locations for the executables
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
# IBM's JDK on AIX uses strange locations for the executables
JAVACMD="$JAVA_HOME/jre/sh/java"
elif [ -x "$JAVA_HOME/jre/bin/java" ] ; then
JAVACMD="$JAVA_HOME/jre/bin/java"
else
JAVACMD="$JAVA_HOME/bin/java"
fi


Loading…
Cancel
Save