ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graeme Shaw <graemes...@gmail.com>
Subject Ant configuration problem (tools.jar).
Date Fri, 08 Apr 2005 15:01:53 GMT
I'm trying to get Ant set up so I can use it to install Apache XML-RPC.

I have:
$JAVA_HOME=/usr/lib/java/jre
$ANT_HOME=/usr/local/ant

When I run 'ant' in the XML-RPC directory I get the output I've
attached at the bottom.  I can't seem to find a tools.jar either in
/usr/lib/java/jre/lib or in /usr/lib/SunJava2-1.4.2/jre/lib.

Ant seems to be looking for tools.jar in /usr/lib/SunJava2-1.4.2/lib/
which doesn't even exist.  This is all under SuSE Linux Professional
9.1.

Any help with this will be greatly appreciated, I need to get XML-RPC
up and running as quickly as possible, thanks in advance,

Graeme ('ant' output below).

Unable to locate tools.jar. Expected to find it in
/usr/lib/SunJava2-1.4.2/lib/tools.jar
Buildfile: build.xml

env:
     [echo] java.home = /usr/lib/SunJava2-1.4.2/jre
     [echo] user.home = /home/thorin
     [echo] jsse.jar = ${jsse.jar}
     [echo] jnet.jar = ${jnet.jar}
     [echo] jcert.jar = ${jcert.jar}
     [echo] servlet.jar = ${servlet.jar}
     [echo] junit.jar = ${junit.jar}

init:

prepare:

compile:

BUILD FAILED
/home/thorin/xmlrpc-1.2-b1/build.xml:137: srcdir
"/home/thorin/xmlrpc-1.2-b1/${src.dir}" does not exist!

Total time: 3 seconds

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message