tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Blevins <david.blev...@visi.com>
Subject Re: Inlining dependencies
Date Tue, 31 Jul 2007 20:11:38 GMT

On Jul 31, 2007, at 11:59 AM, Yoav Shapira wrote:

> Hey,
>
> On 7/31/07, David Blevins <david.blevins@visi.com> wrote:
>> Really curious on what approach you used to inline all your 3rd party
>> deps into org.apache.tomcat.util.  Curious if you took them as is, or
>> trimmed them down to just what you need.  Were any tools used to
>> help?  Any disadvantages that you have noticed other than having to
>> port fixes on those libs in?
>
> IIRC we take a known version of a library and do a string replace on
> package names, essentially.  It's all done in Ant tasks: look for how
> the Tomcat build handles Jakarta Commons DBCP for example.  We don't
> trim them down AFAIK, nor do we have to do any porting because we
> re-grab the library (ideally from a known stable version) with every
> release.

That's really cool.  Thanks for the info.

I'm just very impressed with how clean the result is and there's the  
obvious benefit of those library versions not conflicting with any  
apps deployed without the need for fancy classloader scoping.

-David




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


Mime
View raw message