2012/7/6 Christopher Schultz <ch...@christopherschultz.net>:
>
> On 7/6/12 12:54 PM, Konstantin Kolinko wrote:
>> 2012/7/6 Wei, Mingzhen <w...@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).

It is an interesting note. Anyway,
1. "ant download deploy" in 5.5 builds correctly with Ant 1.8.4 and
JDK 1.4.2_19.  So I do not see what the fix will bring besides a
silenced warning.

2. Anyone may propose a patch for 5.5 (either in STATUS or in bugzilla).

Best regards,
Konstantin Kolinko

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

Reply via email to