On 01/11/2011 22:01, Konstantin Kolinko wrote:
> 2011/11/2 Konstantin Kolinko <[email protected]>:
>> 2011/11/1 Mark Thomas <[email protected]>:
>>> My current thinking is to add redeployResoucre and reloadResource to
>>> Context and deprecate watchedResource, making it a synonym for
>>> reloadResource. Thoughts? (I haven't tested this yet.)
>>>
>>
>> Are you talking about API or about Configuration?
>>
>> <WatchedResource> in conf/context.xml defaults to WEB-INF/web.xml.  It
>> is a news for me that it covers context.xml as well.
>>
>> I think web.xml triggers reload, context.xml triggers redeploy.

That is what I expected too but it isn't what happens. See line ~575 in
ContextConfig. I've checked the history and it has been that way all the
way back to 2004.

> Touching webapps/myapp.war also triggers a redeploy and not a reload.

I'm fine with that. An updated WAR may include a new context.xml file.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to