[Building Sakai] Loading spring configuration file from the classpath of a component.
Matthew Buckett
matthew.buckett at oucs.ox.ac.uk
Fri Nov 19 01:12:21 PST 2010
Has anyone had any success with importing a spring configuration file
from the classpath in a Sakai component?
So in my pack/src/webapp/WEB-INF/components.xml i want a line:
<import resource="classpath:org/sakaiproject/citations/impl/openurl.xml"/>
which is available in the classpath of the component (it's actually
inside the impl), but it can't be found when the component manager
starts up.
Spring classpath resources work fine in RSF webapps but that's using a
new ApplicationContext.
Any ideas?
--
Matthew Buckett
VLE Developer, LTG, Oxford University Computing Services
More information about the sakai-dev
mailing list