You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2009/02/24 14:36:01 UTC

[jira] Created: (SLING-872) Use header entry format to define path mappings

Use header entry format to define path mappings
-----------------------------------------------

                 Key: SLING-872
                 URL: https://issues.apache.org/jira/browse/SLING-872
             Project: Sling
          Issue Type: Improvement
          Components: Extensions
    Affects Versions: Extensions Bundleresource 2.0.2
            Reporter: Carsten Ziegeler
             Fix For: Extensions Bundleresource 2.1.0


It would be nice to define mappings for the bundle resource provider through the usual header syntax, like:
<Sling-Bundle-Resources>
/META-INF/resources/apps/myscripts;path:=/apps/myscripts
<Sling-Bundle-Resources>
This allows to store the resources "somewhere" in the bundle and create the correct mapping by specifying the path directive.

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


[jira] Closed: (SLING-872) Use header entry format to define path mappings

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler closed SLING-872.
----------------------------------

    Resolution: Fixed
      Assignee: Carsten Ziegeler

Fixed in revision 747467 by parsing the header value with the OSGi manifest parser and handling the path directive. If no directive is found, the
old behaviour is used.

> Use header entry format to define path mappings
> -----------------------------------------------
>
>                 Key: SLING-872
>                 URL: https://issues.apache.org/jira/browse/SLING-872
>             Project: Sling
>          Issue Type: Improvement
>          Components: Extensions
>    Affects Versions: Extensions Bundleresource 2.0.2
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: Extensions Bundleresource 2.1.0
>
>
> It would be nice to define mappings for the bundle resource provider through the usual header syntax, like:
> <Sling-Bundle-Resources>
> /META-INF/resources/apps/myscripts;path:=/apps/myscripts
> <Sling-Bundle-Resources>
> This allows to store the resources "somewhere" in the bundle and create the correct mapping by specifying the path directive.

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