tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Jung <rainer.j...@kippdata.de>
Subject Re: how to use VirtualWebappLoader - either in META-INF/context.xml or programmatically on startup
Date Thu, 30 Jun 2011 21:27:18 GMT
On 30.06.2011 22:50, Christopher Schultz wrote:
> Konstantin,
> 
> On 6/30/2011 11:27 AM, Konstantin Kolinko wrote:
>> 2011/6/30 Bob DeRemer <bob.deremer@thingworx.com>:
>>>           virtualClasspath="/WEB-INF/lib/extensions/*.jar"/>
> 
>> The above should be an absolute path.
> 
>> You can use system variables, e.g.
>> ${catalina.base}/webapps/mywebapp/WEB-INF/lib/extensions/*.jar
> 
> Hmm... does that mean that VirtualWebappLoader can't be used with paths
> inside WAR files? Being able to support paths relative to the webapp
> would be quite nice.

I always thought the main use case for VWL is to be able to extend wars
by adding things outside without patching them into the war. So sticking
to one identical war and adding variations about the deployment
environment, like ressources needed for configuration, on the outside.

If you add classes, ressources or jar files inside the war, then I don't
see any obvious reason not to include them in the standard places.

Regards,

Rainer

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


Mime
View raw message