SLING-1733 - BundleResourceProvider would fail to find resources when multiple bundles had the same Sling-Bundle-Resources path
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@993606 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/pom.xml b/pom.xml
index 503c6e2..d2991f0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -64,7 +64,10 @@
SLING-INF/nodetypes/test.cnd
</Sling-Nodetypes>
<Sling-Initial-Content>SLING-INF/content;path:=/sling-test</Sling-Initial-Content>
- <Sling-Bundle-Resources>/sling-test/sling/from-bundle;path:=/SLING-INF/res/sling-test/sling/from-bundle</Sling-Bundle-Resources>
+ <Sling-Bundle-Resources>
+ /sling-test/sling/from-bundle;path:=/SLING-INF/res/sling-test/sling/from-bundle,
+ /system;path:=/SLING-INF/res/sling-test/sling/SLING-1733
+ </Sling-Bundle-Resources>
</instructions>
</configuration>
</plugin>
diff --git a/src/main/resources/SLING-INF/res/sling-test/sling/SLING-1733/sling-1733.txt b/src/main/resources/SLING-INF/res/sling-test/sling/SLING-1733/sling-1733.txt
new file mode 100644
index 0000000..6409db8
--- /dev/null
+++ b/src/main/resources/SLING-INF/res/sling-test/sling/SLING-1733/sling-1733.txt
@@ -0,0 +1 @@
+This is a text file provided by the bundle resource provider.
\ No newline at end of file