Specs gap in implementation-spring location attribute
-----------------------------------------------------

                 Key: TUSCANY-2493
                 URL: https://issues.apache.org/jira/browse/TUSCANY-2493
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Misc Implementation Extensions
    Affects Versions: Java-SCA-Next
         Environment: Windows XP, SP2, IBM JDK 1.5
            Reporter: Ramkumar Ramalingam
            Assignee: Ramkumar Ramalingam
            Priority: Minor
             Fix For: Java-SCA-Next


Implementation-Spring Location attribute currently does not support archive 
file or directory as the target uri.

Specs: The location attribute of that element specifies the target uri of an 
archive file or directory that contains the Spring
application context files. The resource paths to the Spring application context 
configuration files that are used to create the application context are then 
identified as follows:

If the resource identified by the location attribute is an archive file, then 
the file META-INF/MANIFEST.MF is read from the archive. If the location URI 
identifies a directory, then META-INF/MANIFEST.MF must exist underneath that 
directory. If the manifest file contains a header "Spring-Context" of the 
format:
Spring-Context ::= path ( ';' path )*
Where path is a relative path with respect to the location URI, then the set of 
paths specified in the header identify the context configuration files. If 
there is no MANIFEST.MF file or no Spring-Context header within that file, then 
the default behaviour is to build an application context using all the *.xml 
files in the METAINF/spring directory.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to