[ https://issues.apache.org/jira/browse/TUSCANY-1921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12546092 ]
gengshaoguang commented on TUSCANY-1921: ---------------------------------------- Hi, I have 2 points to mention, first: implementation-spring has no ability to loan multi spring xml files (now). second: if there is no Spring-Context in the manifest.mf, Tuscany will try to load a application-context.xml at the root of the jar.(at this point, there is small bug in the source, detail below) ::[503,95] of SpringXMLComponentTypeLoader.java, a "/" should be appended to "!". > Spring implementation looks for application context files in the wrong > location > ------------------------------------------------------------------------------- > > Key: TUSCANY-1921 > URL: https://issues.apache.org/jira/browse/TUSCANY-1921 > Project: Tuscany > Issue Type: Bug > Components: Java SCA Spring Implementation Extension > Affects Versions: Java-SCA-1.0.1 > Reporter: Niklas Gustavsson > > When setting the location on an implementation.spring to a JAR file, the > current Tuscany implementation first looks for the Spring-Context attribute > in the manifest (which looks okay). However, if that is not found, it tries > to load the application context from application-context.xml in the root of > the JAR. > Reading the spec, you'll find this section: > "If there is no MANIFEST.MF file or no Spring-Context header within > that file, then the default behavior is to build an application context using > all the *.xml files in the META-INF/spring directory." -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]