You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Mihai Gheorghiu <ta...@bigplanet.com> on 2000/08/14 21:32:53 UTC

Building the sample

I downloaded and installed Tomcat and Ant.
JAVA_HOME=/usr/local/jdk1.2.2
TOMCAT_HOME=/usr/local/jakarta-tomcat
ANT_HOME=/usr/local/ant
All HOMES/bin are in PATH.
In TOMCAT_HOME/doc/appdev/sample I run:
bash build (I could not make build run all by itself, although it
is -rwxr-xr-x)
:command not found
:command not found (I guess from the two blank lines)
Buildfile: build.xml
Exception in thread "main" java.lang.NoClassDefFoundError: org/w3c/dom/Node
    at org.apache.tools.ant.Main.runBuild(Main.java:218)
    at org.apache.tools.ant.Main.main(Main.java:191)

Please advise.

Thankx in advance,

Mihai