I understood this to be the second half of the problem. The first half was that 
the original Spring file has to be loaded. If this file (which would include 
the excerpt below) is the classpath (e.g. in WEB-INF) then no problem. That was 
the content of the last-proposed solution. It means having one (very "static") 
Spring file in WEB-INF and the rest in ${fedora.home}/server/conf/spring, if I 
understand the idea rightly. 

---
A. Soroka
Online Library Environment
the University of Virginia Library




On Jul 19, 2011, at 3:48 PM, frank asseg wrote:

> hola
> 
> i just came about a quick fix for the path problem we discussed in the 
> committer meeting today, that might help you get on with your development:
> 
>  You can use the <import> element to have a spring configuration file 
> import other configuration files.
> so you could just add the follwing to the bean.
>  You cannot use properties which are defined using a 
> PropertyPlaceHolderConfigurer from spring, but you can use environment 
> variables like "java.home". so if "fedora.home" is set in the 
> environment you can do:
> <beans>
>       <import resource="file:${fedora.home}/fedora.xml" />
>       [...]
> </beans>
> 
> hope that helped..
> 
> frank
> 
> ------------------------------------------------------------------------------
> Magic Quadrant for Content-Aware Data Loss Prevention
> Research study explores the data loss prevention market. Includes in-depth
> analysis on the changes within the DLP market, and the criteria used to
> evaluate the strengths and weaknesses of these DLP solutions.
> http://www.accelacomm.com/jaw/sfnl/114/51385063/
> _______________________________________________
> Fedora-commons-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers


------------------------------------------------------------------------------
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
_______________________________________________
Fedora-commons-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers

Reply via email to