diff --git a/peel-core/src/main/scala/org/peelframework/core/PeelApplicationContext.scala b/peel-core/src/main/scala/org/peelframework/core/PeelApplicationContext.scala index 47be4e48..3979d895 100644 --- a/peel-core/src/main/scala/org/peelframework/core/PeelApplicationContext.scala +++ b/peel-core/src/main/scala/org/peelframework/core/PeelApplicationContext.scala @@ -31,9 +31,7 @@ object PeelApplicationContext { def apply(experimentsXMLPath: Option[String] = None): ApplicationContext = { // construct classpath val cp = Array( - Option(getClass.getResource("/peel-core.xml")) /* */ map { x => s"classpath:${lastPartOf(x)}" }, - Option(getClass.getResource("/peel-extensions.xml")) map { x => s"classpath:${lastPartOf(x)}" }, - experimentsXMLPath /* */ map { x => s"file:$x" } + experimentsXMLPath map { x => s"file:$x" } ).flatten // construct and return application context val ac = new ClassPathXmlApplicationContext(cp, true) diff --git a/peel-empty-bundle/src/main/resources/config/experiments.xml b/peel-empty-bundle/src/main/resources/config/experiments.xml index 96be3694..1c05bb75 100644 --- a/peel-empty-bundle/src/main/resources/config/experiments.xml +++ b/peel-empty-bundle/src/main/resources/config/experiments.xml @@ -3,6 +3,10 @@ + + + +