> From: Tom Poage [mailto:[email protected]]
> Sent: Wednesday, January 22, 2014 1:17 PM
> 
> Maybe not the prettiest/correct/... way, but one thing we did was to
> allow overriding Spring configuration in the file system, using a
> parallel directory structure analogous to that in the war, and setting a

Hmm, that looks promising, the three files I am overriding are

WEB-INF/spring-configuration/propertyFileConfigurer.xml
WEB-INF/spring-configuration/ticketRegistry.xml
WEB-INF/deployerConfigContext.xml

So what would happen if you put a copy of deployerConfigContext.xml in 
:${cas.home:/etc/cas}/spring-configuration/? Or added 
:${cas.home:/etc/cas}/spring-configuration/deployerConfigContext.xml to the 
param list? Could you use an external file system source to override that too?

Thanks for the tip...


> >   <context-param>
> >     <param-name>contextConfigLocation</param-name>
> >     <param-value>
> >       /WEB-INF/spring-configuration/*.xml
> >       /WEB-INF/deployerConfigContext.xml
> :${cas.home:/etc/cas}/spring-configuration/spring-configuration/*.xml
> >     </param-value>
> >   </context-param>
> 
> Then ${cas.home} contains e.g. directories 'classes' and
> 'spring-configuration' (my understanding with Spring is "last one wins").


-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to