ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Rogers" <jason.rog...@tumbleweed.com>
Subject RE: Help installing ant 1.4
Date Wed, 26 Sep 2001 15:51:12 GMT
This might be a dumb question, but did you set your ANT_HOME variable?

    > -----Original Message-----
    > From: Daniel Thivierge [mailto:daniel_thivierge@videotron.ca]
    > Sent: Wednesday, September 26, 2001 10:01 AM
    > To: ant-user@jakarta.apache.org
    > Subject: Help installing ant 1.4
    > 
    > 
    > I am trying to install ant version 1.4 from the source 
    > and I am always 
    > getting the error bellow.  Can someone point me to the 
    > right direction to get 
    > it compile properly (my system is SuSE 7.0).
    > 
    > Thanks.
    > 
    > ============message================
    > 
    > 
    > daniel@flyer:~/web/src/jakarta-ant-1.4 > export 
    > JAVA_HOME=/usr/lib/jdk1.2.2
    > daniel@flyer:~/web/src/jakarta-ant-1.4 > build.sh 
    > -Ddist.dir=/home/daniel/web/src/jakarta-ant-1.4
    > ... Bootstrapping Ant Distribution
    > ... Compiling Ant Classes
    > Note: 4 files use or override a deprecated API.  Recompile with 
    > "-deprecation" for details.
    > 1 warning
    > ... Copying Required Files
    > ... Building Ant Distribution
    > Buildfile: build.xml
    > 
    > bootstrap:
    > 
    > prepare:
    > 
    > check_for_optional_packages:
    > 
    > build:
    > Compiling 75 source files to 
    > /home/daniel/web/src/jakarta-ant-1.4/build/classes
    > Note: 5 files use or override a deprecated API.  Recompile with 
    > "-deprecation" for details.
    > 1 warning
    > Copying 2 files to 
    > /home/daniel/web/src/jakarta-ant-1.4/build/classes
    > Copying 2 files to 
    > /home/daniel/web/src/jakarta-ant-1.4/build/classes/org/apa
    > che/tools/ant/taskdefs/optional/junit/xsl
    > 
    > jars:
    > Building jar: 
    > /home/daniel/web/src/jakarta-ant-1.4/build/lib/ant.jar
    > Building jar: 
    > /home/daniel/web/src/jakarta-ant-1.4/build/lib/optional.jar
    > 
    > dist-lite:
    > Created dir: /home/daniel/web/src/jakarta-ant-1.4/bootstrap
    > Created dir: /home/daniel/web/src/jakarta-ant-1.4/bootstrap/bin
    > Created dir: /home/daniel/web/src/jakarta-ant-1.4/bootstrap/lib
    > Copying 2 files to 
    > /home/daniel/web/src/jakarta-ant-1.4/bootstrap/lib
    > Copying 7 files to 
    > /home/daniel/web/src/jakarta-ant-1.4/bootstrap/bin
    > 
    > BUILD FAILED
    > 
    > /home/daniel/web/src/jakarta-ant-1.4/build.xml:331: 
    > Execute failed: 
    > java.io.IOException: Cannot locate antRun script: 
    > Property 'ant.home' not
    > found
    > 
    > Total time: 1 minute 45 seconds
    > ... Cleaning Up Build Directories
    > ... Done Bootstrapping Ant Distribution
    > Bootstrap FAILED
    > daniel@flyer:~/web/src/jakarta-ant-1.4 > ls ./bootstrap/bin
    > ant  ant.bat  antRun  antRun.bat  lcp.bat  runant.pl  runant.py
    > daniel@flyer:~/web/src/jakarta-ant-1.4 >
    > 
    > 
    > 


Mime
View raw message