Costin,

Costin Manolache wrote:

No, the tomcat4 package shouldn't compile with tomcat5.

I think we need a way to distinguish tomcat4 from tomcat5 in the
conditions. Or a flag that is set by the tomcat5 build ( probably better ).

I added a "org.apache.ajp.tomcat5" package in jakarta-tomcat-connectors/jk. This package contains no classes as the "org.apache.ajp.tomcat4" classes will need to be ported so that they do not use the HttpRequestBase class.

Also, I made jakarta-tomcat-connectors/jk/build.xml handle concurrent building of the "tomcat4" and "tomcat5" packages when both Tomcat 4.x and Tomcat 5 are present. This was what was causing my build to break: build.xml was automatically detecting my Tomcat 4 build even when I had "catalina.home" set to my Tomcat 5 build.

So, everything now builds fine except that the Ajp13 connector will not work with Tomcat 5 since there are no "tomcat5" classes at this time.

Patrick

--
________________________________________________________________
Patrick Luby Email: [EMAIL PROTECTED]
Sun Microsystems Phone: 408-276-7471
901 San Antonio Road, USCA14-303
Palo Alto, CA 94303-4900
________________________________________________________________


--
To unsubscribe, e-mail: <mailto:tomcat-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@;jakarta.apache.org>



Reply via email to