tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nitin Vira" <>
Subject RE: Compilation Error when building Tomcat
Date Wed, 24 Oct 2001 04:21:56 GMT

Why am i getting this error while building tomcat4.0?  i am using ant 1.4

C:\Tomcat\temp\jakarta-tomcat-4.0>C:\Tomcat\jakarta-ant-1.4\bin\ant -projecthelp

Searching for build.xml ...
Buildfile: C:\Tomcat\temp\jakarta-tomcat-4.0\build.xml


C:\Tomcat\temp\jakarta-tomcat-4.0\build.xml:239: Class
defs.Zip doesn't support the nested "zipfileset" element

the line in question is following in build.xml
    <zip zipfile="${tomcat.dist}/${}.zip">
      <zipfileset dir="${tomcat.dist}" prefix="${}" 
       includes="bin/**" />

-----Original Message-----
From: Craig R. McClanahan []
Sent: Tuesday, October 23, 2001 12:28 PM
Subject: RE: Compilation Error when building Tomcat

On Tue, 23 Oct 2001, Nitin Vira wrote:

> Date: Tue, 23 Oct 2001 11:52:54 -0700
> From: Nitin Vira <>
> Reply-To:
> To:
> Subject: RE: Compilation Error when building Tomcat
> i had got the jakarta-serlvetapi-4 from the website and i had checked
> that it has the methods are required but ant is not picking up that
> jar its reading from somewhere else, does it read some classpath.

You have total control over where each JAR file is taken from, by
configuring the "" file.  The quickest way to set this up
is to copy "" to "" and then edit
it to suit.  The properties that matter for this purpose are
"servlet.home", "servlet.lib", and "servlet.jar".


View raw message