File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
peel-core/src/main/scala/org/peelframework/core
peel-empty-bundle/src/main/resources/config Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -31,9 +31,7 @@ object PeelApplicationContext {
3131 def apply (experimentsXMLPath : Option [String ] = None ): ApplicationContext = {
3232 // construct classpath
3333 val cp = Array (
34- Option (getClass.getResource(" /peel-core.xml" )) /* */ map { x => s " classpath: ${lastPartOf(x)}" },
35- Option (getClass.getResource(" /peel-extensions.xml" )) map { x => s " classpath: ${lastPartOf(x)}" },
36- experimentsXMLPath /* */ map { x => s " file: $x" }
34+ experimentsXMLPath map { x => s " file: $x" }
3735 ).flatten
3836 // construct and return application context
3937 val ac = new ClassPathXmlApplicationContext (cp, true )
Original file line number Diff line number Diff line change 33<beans xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xmlns =" http://www.springframework.org/schema/beans"
44 xsi : schemaLocation =" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd" >
55
6+ <!-- Peel configuratoins -->
7+ <import resource =" classpath:peel-core.xml" />
8+ <import resource =" classpath:peel-extensions.xml" />
9+
610 <!-- custom system beans -->
711 <import resource =" systems.xml" />
812 <!-- wordcount experiment beans -->
You can’t perform that action at this time.
0 commit comments