This problem sounds vaguely familiar. I think long ago I had encountered
this problem too. Since you are using svn, I am assuming you know what
environment variables are and know to distinguish between JDK and JRE.
Can you see if your JAVA_HOME environment variable is set and is
pointing to your JDK instead of a JRE?
The reason I think you need JAVA_HOME to be set to the JDK, is that the
tools.jar, which Apache Ant is looking for to execute the "ant prepare"
step, is located inside the JDK directory and not the JRE.
Tell us if this doesn't work.
> I am attempting to install Greenstone 3 via SVN in Opensuse 11.1
> 64 bit.
> When I ant prepare I get the following error message:
> Unable to locate tools.jar. Expected to find it in
> Buildfile: build.xml does not exist!
> Build failed
> Any help greatly appreciated