tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Deploying to a subfolder
Date Tue, 07 Oct 2008 08:25:31 GMT
McEahern, Mark S wrote:
>>>> -----Original Message-----
>>>> From: Mark Thomas [mailto:markt@apache.org]
>>>> Sent: Sunday, October 05, 2008 1:41 PM
>>>> To: Tomcat Users List
>>>> Subject: Re: Deploying to a subfolder
>>>>
>>>> I can repeat this now. It looks like I missed this 
>> combination in my 
>>>> testing. I'll get it fixed for 6.0.19+
>>>>
>>>> Mark
>>> Awesome, thanks for looking into that.
>>>
>>> Do you have an ETA for that release?
>> I am afraid not. However, the patch is a simple one. If you 
>> need the fix in a hurry, you could with a local pacth. Shout 
>> if you want/need the steps to do this.
> 
> That would be very helpful, thanks!

The short version:
1. install an svn client (I like tortoise svn)
2. Checkout http://svn.apache.org/repos/asf/tomcat/tc6.0.x/tags/TOMCAT_6_0_18/
3. cd where/you/placed/the/checkout
4. ant download
5. ant
This gives you a local 6.0.18 build
6. use tortoise to merge revision 702208 from
http://svn.apache.org/repos/asf/tomcat/trunk/
(right-click on your checkout dir -> tortoise svn -> merge ->
range=702208,url=http://svn.apache.org/repos/asf/tomcat/trunk/)
7. ant
This gives you a local 6.0.18 build plus the patch

You can then do one of the following:
- just use this build
- use replace catalina.jar in 6.0.18 with the one you just built
- copy output\classes\org\apache\catalina\startup\ContextConfig.class to
CATALINA_BASE\lib\org\apache\catalina\startup\ContextConfig.class

I tend to do the last one so it is clear what is 'pure' 6.0.18 and what i
have changed.

More detail on building Tomcat:
http://tomcat.apache.org/tomcat-6.0-doc/building.html

HTH,

Mark



---------------------------------------------------------------------
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