You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Andy Cutright <An...@borland.com> on 2005/11/18 21:33:41 UTC

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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: why is commons-collections being modified?

Posted by Bill Barker <wb...@wilshire.com>.
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" <An...@borland.com>
To: <to...@jakarta.apache.org>
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org




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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org