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/12/11 17:19:18 UTC
[jira] Updated: (SLING-499) Specify url mappings in bundle headers
[ https://issues.apache.org/jira/browse/SLING-499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler updated SLING-499:
-----------------------------------
Component/s: JCR
Affects Version/s: (was: 3)
JCR Resource 2.0.6
> Specify url mappings in bundle headers
> --------------------------------------
>
> Key: SLING-499
> URL: https://issues.apache.org/jira/browse/SLING-499
> Project: Sling
> Issue Type: New Feature
> Components: JCR
> Affects Versions: JCR Resource 2.0.6
> Reporter: Carsten Ziegeler
>
> It would be nice to specify a url mapping directly in the bundle header, like:
> <Sling-Initial-Content>SLING-INF/content</Sling-Initial-Content>
> <Sling-Root-Mapping>/apps/xyz/docroot, /apps/abc/docroot</Sling-Root-Mapping>
> This would create two mappings:
> - "/" to "/apps/xyz/docroot/"
> - "/" to "/apps/abc/docroot/"
> In addition we could generalize this and provide arbitrary mappings:
> <Sling-Mapping>
> /:=/apps/xyz/docroot,
> /images:=/libs/images
> <Sling-Mapping>
> This would create two mappings:
> - "/" to /apps/xyz/docroot
> - "/images" to /libs/images
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.