Re: context resources, replacement parameters

2017-12-11 Thread Mark Thomas
On 11/12/17 19:12, Chris Cheshire wrote: > I thought more about this over the weekend, and realised it is more > hassle than it is worth, and not because I don't want to do it. I > don't think it is actually feasible now that I think about it more. > > Given that a JVM has one set of System.proper

Re: context resources, replacement parameters

2017-12-11 Thread Chris Cheshire
I thought more about this over the weekend, and realised it is more hassle than it is worth, and not because I don't want to do it. I don't think it is actually feasible now that I think about it more. Given that a JVM has one set of System.properties and one instance of Tomcat can have multiple d

Re: context resources, replacement parameters

2017-12-09 Thread Mark Thomas
On 08/12/17 22:13, Chris Cheshire wrote: > On Fri, Dec 8, 2017 at 3:36 PM, Mark Thomas wrote: >> On 08/12/17 18:49, Chris Cheshire wrote: >>> I have a directory resource set defined in my context.xml to handle images : >>> >>> >>> >> base="${catalina.base}/cdn/p/images" >>>

Re: context resources, replacement parameters

2017-12-08 Thread Chris Cheshire
On Fri, Dec 8, 2017 at 3:36 PM, Mark Thomas wrote: > On 08/12/17 18:49, Chris Cheshire wrote: >> I have a directory resource set defined in my context.xml to handle images : >> >> >> > base="${catalina.base}/cdn/p/images" >> webAppMount="/images" /> >> >> >> The

Re: context resources, replacement parameters

2017-12-08 Thread Mark Thomas
On 08/12/17 18:49, Chris Cheshire wrote: > I have a directory resource set defined in my context.xml to handle images : > > >base="${catalina.base}/cdn/p/images" > webAppMount="/images" /> > > > The /p in there actually represents the context path - a given s

context resources, replacement parameters

2017-12-08 Thread Chris Cheshire
I have a directory resource set defined in my context.xml to handle images : The /p in there actually represents the context path - a given sandbox might have the same webapp deployed at different context paths representing different development branches. Is it possible to use a replacement