[
https://issues.apache.org/jira/browse/TUSCANY-3104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ramkumar Ramalingam resolved TUSCANY-3104.
------------------------------------------
Resolution: Fixed
Fix Version/s: Java-SCA-Next
Committed revision 789263 in 1.x
> Using "FileSystemXmlApplicationContext" to load multiple application context
> files has problems with relative path identification
> ---------------------------------------------------------------------------------------------------------------------------------
>
> Key: TUSCANY-3104
> URL: https://issues.apache.org/jira/browse/TUSCANY-3104
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Spring Implementation Extension
> Environment: All
> Reporter: Hasan Muhammad
> Assignee: Ramkumar Ramalingam
> Fix For: Java-SCA-Next
>
>
> From Spring point of view, the path's relative to the contribution is not
> accepted as they expect a path relative to the current VM working directory.
> We should follow this standard to keep Spring happy. So for example, the path
> should be as shown below.... (ref from itest/spring testcases)
> <bean id="beanRefFactory"
> class="org.springframework.context.support.FileSystemXmlApplicationContext">
> <constructor-arg>
> <list>
>
> <value>/src/main/resources/beanRef-SpringHelloWorld-context.xml</value>
>
> <value>/src/main/resources/bean-frontend-springimpl-context.xml</value>
> </list>
> </constructor-arg>
> </bean>
> From Tuscany point of view, we need to decide whether we should support files
> outside the contribution. Recently Raymond raised an similar issue in 2.x for
> spring context files outside the contribution.
> Need to fix this.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.