Hi Craig, Thanks for your help. I have managed to successfully build the tomcat. The problems were caused by existence of earlier versions of ant.jar and servlet.jar in jre/lib/ext folder. Now I am actually wondering, is it really smart to put jars in jre/lib/ext folder cause i struggled through a simple build process for 2 days just because of that.
Regards, Nitin -----Original Message----- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 25, 2001 8:08 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: Compilation Error when building Tomcat Did you download the "optional.jar" file that goes with Ant, and put it in the $ANT_HOME/lib directory? Did you add xalan.jar (from JAXP/1.1) to the $ANT_HOME/lib directory? Both of these requirements are documented on the "BUILDING.txt" step about downloading and installing Ant. Craig On Wed, 24 Oct 2001, Nitin Vira wrote: > Date: Wed, 24 Oct 2001 11:20:20 -0700 > From: Nitin Vira <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: RE: Compilation Error when building Tomcat > > Hi Craig, > > I am really sorry for taking up too many of your resources on this, but i just cant >figure out how to get tomcat to build. > I used the release version of tomcat source and i think it gets build upto >dist-static and then it gives the following error, i think in target dist-prepare, > > tomcat-docs: > > BUILD FAILED > > C:\jakarta-tomcat-4.0-rc1-src\webapps\tomcat-docs\build.xml:84: Class org.apache > .tools.ant.taskdefs.XSLTProcess doesn't support the nested "param" element > > > So i downloaded the latest source from the nightly builds but after updating >build.properties when i try to run ant -projecthelp i get following error > > C:\Tomcat\jakarta-tomcat-4.0>ant -projecthelp > Searching for build.xml ... > Buildfile: C:\Tomcat\jakarta-tomcat-4.0\build.xml > > BUILD FAILED > > C:\Tomcat\jakarta-tomcat-4.0\build.xml:239: Class org.apache.tools.ant.taskdefs. > Zip doesn't support the nested "zipfileset" element > > Total time: 1 second > > Could you please help me figure out the problem, > Thanks for your help. > Nitin > > -----Original Message----- > From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 23, 2001 11:04 AM > To: [EMAIL PROTECTED] > Subject: RE: Compilation Error when building Tomcat > > > > > On Tue, 23 Oct 2001, Nitin Vira wrote: > > > Date: Tue, 23 Oct 2001 10:12:43 -0700 > > From: Nitin Vira <[EMAIL PROTECTED]> > > Reply-To: [EMAIL PROTECTED] > > To: [EMAIL PROTECTED] > > Subject: RE: Compilation Error when building Tomcat > > > > Hi Craig, > > > > I figured as much, but i dont quite get from where to get the latest servlet.jar >and where to put and make the ant pick up this jar and not any other. > > Thanks once again for your help. > > > > See the "BUILDING.txt" file in the top level source directory of Tomcat. > It tells you exactly where to get everything (including getting the latest > Servlet and JSP classes from the "jakarta-servletapi1-4" repository). > > > Nitin > > > > Craig > >
