You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Marcus Better <ma...@better.se> on 2006/10/20 12:53:49 UTC

Re: Source for Packages org.apache.tomcat.dbcp and below?

William L. Thomson Jr. wrote:
> Basically the main problem on Gentoo is we don't want to have to pull in
> sources for 3 other commons apps in conjunction with Tomcat's sources
> just to build the naming-factory-dbcp.jar. Despite it looking like
> that's the only way.

We have the same problem in Debian, and we are not building
naming-factory-dbcp.jar. Instead we rely on commons-collections.jar.

Regards,

Marcus



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


Re: Source for Packages org.apache.tomcat.dbcp and below?

Posted by Marcus Better <ma...@better.se>.
Remy Maucherat wrote:
> Normally, it's difficult to do. You can easily patch Tomcat to have it
> use the regular commons-dbcp by default (it's a constant), but it will
> have the usual drawbacks (you will expose a bunch of JARs to webapps).

Excuse my ignorance, but why is this a problem?

Marcus



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


Re: Source for Packages org.apache.tomcat.dbcp and below?

Posted by Remy Maucherat <re...@apache.org>.
Fernando Nasser wrote:
> And we have the same problem on JPackage, and as consequence on Red Hat, 
> Fedora, Suse, Mandriva....
> 
> I wonder if the magic could not be done by having the original 
> commons-dhcp JAR as input and doing some manipulation on it to move the 
> classes to the desired package at tomcat build time...

Normally, it's difficult to do. You can easily patch Tomcat to have it 
use the regular commons-dbcp by default (it's a constant), but it will 
have the usual drawbacks (you will expose a bunch of JARs to webapps).

Rémy

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


Re: Source for Packages org.apache.tomcat.dbcp and below?

Posted by Fernando Nasser <fn...@redhat.com>.
Marcus Better wrote:
> William L. Thomson Jr. wrote:
>   
>> Basically the main problem on Gentoo is we don't want to have to pull in
>> sources for 3 other commons apps in conjunction with Tomcat's sources
>> just to build the naming-factory-dbcp.jar. Despite it looking like
>> that's the only way.
>>     
>
> We have the same problem in Debian, and we are not building
> naming-factory-dbcp.jar. Instead we rely on commons-collections.jar.
>
> Regards,
>
> Marcus
>
>
>
>   
And we have the same problem on JPackage, and as consequence on Red Hat, 
Fedora, Suse, Mandriva....

I wonder if the magic could not be done by having the original 
commons-dhcp JAR as input and doing some manipulation on it to move the 
classes to the desired package at tomcat build time...

Regards to all,
Fernando


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