On 9/22/06, Robin Garner <[EMAIL PROTECTED]> wrote:
Geir Magnusson Jr. wrote: > > On Sep 21, 2006, at 9:18 PM, Robin Garner wrote: > >> Geir Magnusson Jr. wrote: >>> On Sep 21, 2006, at 1:09 AM, Robin Garner wrote: >>>> Trying to build the latest trunk (r448461) on Ubuntu (6.06). >>> That's my main build platform. No need to hack anything. >>>> Had to hack build.sh because the ant executable isn't in ANT_HOME, >>> That's weird. You shouldn't have to do that. >> >> These fragments from build.sh: >> >> # Apache Ant 1.6.2 or higher (can be obtained at http://ant.apache.org) >> if [ -z "$ANT_HOME" ]; then >> ANT_HOME=$EXTERNAL_DIR/common/apache-ant-1.6.5-bin/apache-ant-1.6.5 >> fi >> ... >> elif [ ! -x $ANT_HOME/bin/ant ]; then >> echo "* File $ANT_HOME/bin/ant not found." >> echo "* Make sure you have Ant 1.6.5 or above installed from" >> echo "* http://ant.apache.org/bindownload.cgi and that ANT_HOME >> environment" >> echo "* variable points out to the Ant installation dir, e.g. " >> echo "* export ANT_HOME=/usr/local/ant_1.6.5" >> ERROR >> fi >> ... >> export ANT_HOME=`(cd $ANT_HOME;pwd)` >> ... >> ANT_COMMAND="$ANT_HOME/bin/ant --noconfig" >> >> seems to indicate otherwise, if you want to use the default ubuntu ant >> install. Doing "export ANT_HOME=`(cd $ANT_HOME;pwd)`" seems a bit >> *cough* 'suboptimal' :) > > I don't know about the default ubuntu ant install. I installed it > myself and set ANT_HOME to the right place in .bashrc. I never futz > with it... Still, if I have a working ant in my PATH, the script should just respect that, shouldn't it ?
IMO it should. I work similar to you. However I use SUSE. Thanks, Vladimir. ---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]