Tomcat repackages commons-collections, so Tomcat won't know or care if you ship the actual commons-collections jar with your application. It's looking for classes in the org.apache.tomcat.dbcp package, not the org.apache.commons one.
----- Original Message ----- From: "Andy Cutright" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Friday, November 18, 2005 12:33 PM Subject: why is commons-collections being modified? hi all, i'm building 5.5.12. the jakarta-tomcat-5/build.xml explicity removes code from the commons-collections code base. i see in the change log some reference about this saying it is being repackaged to reduce the package size. is this the reason why? or are the are additional reasons? for instance: <replace dir="${tomcat-dbcp.home}/src/java/org/apache/commons"> <replacefilter token="return UnmodifiableList.decorate(l);" value="return l;" /> <replacefilter token="import org.apache.commons.collections.list.UnmodifiableList;" value=" " /> </replace> why is this code being removed? is there some bug? or is this simply to save space? we package tomcat along with other components, some of which may have dependencies on commons-collections. i would prefer to use a single copy of commons-collections, so i'm wondering if i can simply use commons-collections as is within tomcat. cheers, andy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This message is intended only for the use of the person(s) listed above as the intended recipient(s), and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not an intended recipient, you may not read, copy, or distribute this message or any attachment. If you received this communication in error, please notify us immediately by e-mail and then delete all copies of this message and any attachments. In addition you should be aware that ordinary (unencrypted) e-mail sent through the Internet is not secure. Do not send confidential or sensitive information, such as social security numbers, account numbers, personal identification numbers and passwords, to us via ordinary (unencrypted) e-mail. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
