tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven Maring <Steven.Mar...@trcinc.com>
Subject RE: ./build.sh woes...
Date Wed, 05 Apr 2000 18:10:05 GMT
Well, the obvious question would be: Is an ant.jar at
../jakarta-ant/lib/ant.jar?

Else, you need to unpack the Ant distribution in your JAKARTA_HOME

-----Original Message-----
From: Marcelo J. Iturbe
To: tomcat-user@jakarta.apache.org
Sent: 4/5/00 2:00 PM
Subject: ./build.sh woes...

Hello,
I have regular Apache running with MySQL and PHP3.
I am trying to build Tomcat in order to add servlet capabilities to the
server.
So, I am trying to build Tomcat. However when I run ./build.sh I get the

following:

Exception in thread "main" java.lang.NoClassDefFoundError: 
org/apache/tools/ant/Main

I placed a few echoes in the build.sh file to see what happens
echo "javacmd=$JAVACMD: cp=$cp: classpath=$CLASSPATH"
echo "$JAVACMD -classpath $cp:$CLASSPATH org.apache.tools.ant.Main
\"$@\""

The result is:

javacmd=/usr/local/jdk1.2.2/bin/java: 
cp=../jakarta-ant/lib/ant.jar:../jakarta-tools/moo.jar:../jakarta-ant/li
b/xm 
l.jar:../build/tomcat/classes:/usr/local/jdk1.2.2/lib/tools.jar:
classpath=

/usr/local/jdk1.2.2/bin/java -classpath 
../jakarta-ant/lib/ant.jar:../jakarta-tools/moo.jar:../jakarta-ant/lib/x
ml.j 
ar:../build/tomcat/classes:/usr/local/jdk1.2.2/lib/tools.jar: 
org.apache.tools.ant.Main ""

java -version
java version "1.2.2"
Classic VM (build Linux_JDK_1.2.2_RC4, native threads, sunwjit)

Any help would be apreciated..

Thanks,
Marcelo


***********************************************
                  ICQ 22921676
                  MSM Interactive.
      El Bosque Norte 0134, Las Condes, Chile.
Phone: (56-2) 333-1535  Fax: (56-2) 233-8912
Email: marcelo@msm.cl    http://www.msm.cl
*******************************************


------------------------------------------------------------------------
--
To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
For additional commmands, email: tomcat-user-help@jakarta.apache.org

Mime
View raw message