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.