This is an automated email from the ASF dual-hosted git repository.

radu pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-scripting-bundle-tracker-it.git


The following commit(s) were added to refs/heads/master by this push:
     new 97cf38a  SLING-10808 - Generate scripting capabilities from Jackrabbit 
FileVault content packages
97cf38a is described below

commit 97cf38a5096eb567efc872a4bc194cff433d5a91
Author: Radu Cotescu <[email protected]>
AuthorDate: Wed Sep 22 09:59:17 2021 +0200

    SLING-10808 - Generate scripting capabilities from Jackrabbit FileVault 
content packages
    
    * documented the priority of the bundled scripts over resource tree scripts
---
 .../README.md                                                    | 9 +++++++++
 .../src/main/content/META-INF/vault/filter.xml                   | 5 +----
 2 files changed, 10 insertions(+), 4 deletions(-)

diff --git 
a/examples/org-apache-sling-scripting-content-package-with-bundle-attached/README.md
 
b/examples/org-apache-sling-scripting-content-package-with-bundle-attached/README.md
new file mode 100644
index 0000000..3f32655
--- /dev/null
+++ 
b/examples/org-apache-sling-scripting-content-package-with-bundle-attached/README.md
@@ -0,0 +1,9 @@
+Precompiled Bundled Scripts - extracting capabilities from content packages
+====
+
+This project showcases how the 
[`scriptingbundle-maven-plugin`](https://sling.apache.org/components/scriptingbundle-maven-plugin/)
+can be used to extract capabilities from a 
[FileVault](https://jackrabbit.apache.org/filevault/) content package.
+Although both the content package and the generated bundle will be deployed 
during build-time to the instance,
+the rendering for the resource types handled by the scripts available in this 
project will be performed via the
+generated bundle. The servlets instantiated for this bundle will [have 
priority](https://sling.apache.org/documentation/bundles/scripting.html#script-resolution-order)
 over scripts from the resource tree
+for the same resource type/selectors combinations.
diff --git 
a/examples/org-apache-sling-scripting-content-package-with-bundle-attached/src/main/content/META-INF/vault/filter.xml
 
b/examples/org-apache-sling-scripting-content-package-with-bundle-attached/src/main/content/META-INF/vault/filter.xml
index 530f9a2..49515db 100644
--- 
a/examples/org-apache-sling-scripting-content-package-with-bundle-attached/src/main/content/META-INF/vault/filter.xml
+++ 
b/examples/org-apache-sling-scripting-content-package-with-bundle-attached/src/main/content/META-INF/vault/filter.xml
@@ -18,9 +18,6 @@
   ~ under the License.
   
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
 <workspaceFilter version="1.0">
-    <!-- 
-        Do not pack the apps folder!
-        <filter root="/apps/sling/scripting/example-cp"/>
-    -->
+    <filter root="/apps/sling/scripting/example-cp"/>
     <filter root="/content/bundled-scripts/example-cp"/>
 </workspaceFilter>

Reply via email to