tomcat-users mailing list archives

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

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

BUILD FAILED

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


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



-----Original Message-----
From: Craig R. McClanahan [mailto:craigmcc@apache.org]
Sent: Tuesday, October 23, 2001 12:28 PM
To: tomcat-user@jakarta.apache.org
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 <nvira@juniper.net>
> Reply-To: tomcat-user@jakarta.apache.org
> To: tomcat-user@jakarta.apache.org
> 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 "build.properties" file.  The quickest way to set this up
is to copy "build.properties.sample" to "build.properties" and then edit
it to suit.  The properties that matter for this purpose are
"servlet.home", "servlet.lib", and "servlet.jar".

Craig


Mime
View raw message