Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-2493

Specs gap in implementation-spring location attribute

    XMLWordPrintableJSON

Details

    • Patch Available

    Description

      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.

      Attachments

        1. TUSCANY-2493.patch
          12 kB
          Ramkumar Ramalingam

        Activity

          People

            ramkumar.rj Ramkumar Ramalingam
            ramkumar.rj Ramkumar Ramalingam
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: