[164184] Add Dali distribution to WTP Builder R2.0
diff --git a/releng.control/ant.sh b/releng.control/ant.sh
index d872417..086908a 100644
--- a/releng.control/ant.sh
+++ b/releng.control/ant.sh
@@ -1,48 +1,64 @@
-#!/bin/sh

-PROJECT_HOME=`dirname "$0"`

-

-echo "Project Home: ${PROJECT_HOME}"

-

-

-PATH=/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin

-PATH=$PATH:$HOME/bin:/shared/webtools/apps/apache-ant-1.6.5/bin

-PATH=$PATH:/shared/webtools/apps/IBMJava2-ppc-142/bin

-export PATH

-

-LD_LIBRARY_PATH=/opt/gnome/lib:/opt/gnome/lib64

-export LD_LIBRARY_PATH

-

-

-

+#!/bin/sh
+PROJECT_HOME=`dirname "$0"`
+
+echo "Project Home: ${PROJECT_HOME}"
+
+
+LD_LIBRARY_PATH=/opt/gnome/lib:/opt/gnome/lib64
+export LD_LIBRARY_PATH
+
+
+
 BUILD_HOME=/shared/webtools

-export BUILD_HOME

-

-CCDIR=/shared/webtools/apps/cruisecontrol-bin-2.5

-export CCDIR

-

+export BUILD_HOME
+
+CCDIR=$BUILD_HOME/apps/cruisecontrol-bin-2.5
+export CCDIR
+
 JAVA_HOME=/shared/webtools/apps/IBMJava2-ppc-142

-export JAVA_HOME

-

-ANT_HOME=/shared/webtools/apps/apache-ant-1.6.5

-export ANT_HOME

-

-

-# OS specific support.

-sunjvm=false;

-ibmjvm=false;

-javaversion="`uname -a`"

-

-case "$javaversion" in

-  *i686*) sunjvm=true;;

-  *ppc*)  ibmjvm=true;;

-esac

-

-ANT_OPTS="-Xms128m -Xmx768m"

-if $sunjvm ; then

-   ANT_OPTS="-Xms128m -Xmx768m -XX:MaxPermSize=128M -XX:+UseParallelGC"

-fi

-ANT_CMD=${ANT_HOME}/bin/ant

-DISPLAY=127.0.0.1:1.0

-export DISPLAY

-export ANT_OPTS

-exec "$ANT_CMD" "$@"

+export JAVA_HOME
+
+
+JAVA5_HOME=$BUILD_HOME/apps/jdk1.5.0_09
+export JAVA5_HOME
+
+
+ANT_HOME=$BUILD_HOME/apps/apache-ant-1.6.5
+export ANT_HOME
+
+
+# OS specific support.
+sunjvm=false;
+ibmjvm=false;
+javaversion="`uname -a`"
+
+case "$javaversion" in
+  *i686*) sunjvm=true;;
+  *ppc*)  ibmjvm=true;;
+esac
+
+#values of the bootclasspath attribute used in ant javac calls.
+bootclasspath="$JAVA_HOME/jre/lib/rt.jar:$JAVA_HOME/jre/lib/jsse.jar"
+bootclasspath_15="$JAVA5_HOME/jre/lib/rt.jar"
+
+export J2SE14="$bootclasspath"
+export J2SE15="$bootclasspath_15"
+buildPaths="-DJ2SE-1.4=${bootclasspath} -DJ2SE-1.5=${bootclasspath_15}"
+
+ANT_OPTS="-Xms128m -Xmx768m $buildPaths"
+if $sunjvm ; then
+   ANT_OPTS="-Xms128m -Xmx768m -XX:MaxPermSize=128M -XX:+UseParallelGC $buildPaths"
+fi
+ANT_CMD=${ANT_HOME}/bin/ant
+
+DISPLAY=127.0.0.1:1.0
+export DISPLAY
+
+PATH=/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin
+PATH=$PATH:$HOME/bin:$ANT_HOME/bin
+PATH=$PATH:$JAVA_HOME/bin
+export PATH
+
+export ANT_OPTS
+exec "$ANT_CMD" "$@"
+