[ https://issues.apache.org/jira/browse/SLING-499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12601864#action_12601864 ]
Felix Meschberger commented on SLING-499: ----------------------------------------- I agree, that this would be a good thing (we already discussed it off-line but never made it into a task ;-) ) > Specify url mappings in bundle headers > -------------------------------------- > > Key: SLING-499 > URL: https://issues.apache.org/jira/browse/SLING-499 > Project: Sling > Issue Type: New Feature > Affects Versions: 2.0.0 > 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.