Its not that the bootstrap script is wrong so much as IBM in their infinite
wisdom seem to have a non-standard setup for the Java install.  This causes
problems with things in the script like:

if [ ! -x "$JAVA_HOME/bin/java" ] ; then
  echo "Error: JAVA_HOME is not defined correctly."
  echo "  We cannot execute JAVA_HOME/bin/java"
  exit
fi

because that's not where java is executed from, its in
${JAVA_HOME}/jre/sh/java

So I commented out the above check and set JAVA=${JAVA_HOME}/jre/sh/java and
then modified any occurrences of ${JAVA_HOME}/bin/java with just ${JAVA}.
Similarly javac is not in ${JAVA_HOME}/bin/javac but rather
${JAVA_HOME}/sh/javac so I had to set the JAVAC environment variable
appropriately.

Chris

-----Original Message-----
From: Stefan Bodewig [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 14, 2001 1:48 AM
To: [EMAIL PROTECTED]
Subject: Re: Resolved: NullPointerException & Problems running on AIX


Chris Stillwell <[EMAIL PROTECTED]> wrote:

> All of the problems I was experiencing with Ant 1.3 on our AIX box
> have gone away

great!

> after hacking the bootstrap build script to run on our AIX box,

Has the bootstrap script been wrong? If so, I'd like to see a copy of
yours to make the distributed version work out of the box.

Stefan

Reply via email to