tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <funk...@joedog.org>
Subject Re: Sharing Application Code Between Contexts
Date Mon, 29 Sep 2008 12:13:56 GMT
ANT should easily be able to do this. Then you should be able either use 
either of
1) properties
2) target

To build one or more apps a time. If your shared code are versioned 
well, maven might be a good fit too. (Since it has more dependency 
handling methodology in place)

-Tim

Richard Sayre wrote:
> Are there any tools that would help with building different .war files
> for each context?
> 
> On Mon, Sep 29, 2008 at 8:58 AM, Tim Funk <funkman@joedog.org> wrote:
>> 1) Disk is cheap.
>> 2) Build scripts can easily push the common code out to all your apps in a
>> reproducable manner.
>> 3) Seperate code makes regression upgrades easier to do since there is
>> always that one app which cant be upgraded
>>
>> While you may be "sharing code" - all the code will be living in different
>> classloaders (one per webapp) so at most - you are saving disk.
>>

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message