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/apache/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 >