tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Tomcat building problems: Apache Tomcat 5.5 Servelet/JSP container
Date Fri, 06 Jul 2012 17:47:11 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Konstantin,

On 7/6/12 12:54 PM, Konstantin Kolinko wrote:
> 2012/7/6 Wei, Mingzhen <weim@mst.edu>:
>> I was trying to build Apache Tomcat 5.5 Servelet for another
>> application. I followed the steps from the link:
>> http://tomcat.apache.org/tomcat-5.5-doc/building.html. I have
>> done the following:
>> 
>> 1.       Installed JDK1.6
>> 
>> 2.       Download and installed Apache Ant 1.8.4
>> 
>> 3.       Download Tomcat 5.5 source package in zip file
>> 
>> 4.       Set and updated the environment parameters for
>> JAVA_HOME, PATH, ANT_HOME
>> 
>> I cannot run the following step "ant download" correctly. It
>> complains the "includeantruntime" setup, and alerting me with
>> errors for classes as BasicDataSource, DelegatingStatement,
>> DelegatingPreparedStatement, and many more. The errors say that
>> those classes as not abstract and do not override the abstract
>> methods in other sources.
> 
> 1. You need JDK 1.4 to build Tomcat 5.5. 2. The version of Ant
> targeted by the build script is 1.6.2.

With only a little bit of digging, I couldn't find an earliest-version
of Ant that supports the "includeAntRuntime" attribute for <javac>.
But, I suspect that 1.6.2 *does* support it, so there doesn't seem to
be a reason not to specify a value for it in the build file. That will
allow Tomcat 5.5 to be built with later ant versions (but, of course,
using the proper JDK version).

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/3JJ8ACgkQ9CaO5/Lv0PDrGQCgt8WyLNF65G+bc+VReUE2hiEd
IXUAn2vf6qqGa/+r7TzlJ1c94A3qpdpj
=3kIJ
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message