Hi, I need to exclude from the package some resources with a specific prefix (test). In the pom.xml I tried with:
<filters>
<filter>
/etc/workflow/launcher/config/test*
</filter>
</filters>
but it was wrong.
What's the way?
Thanks
Solved! Go to Solution.
Views
Replies
Total Likes
Hello,
For that you have to do something like in your /META-INF/vault/filter.xml,
<filter root="/etc/workflow/launcher/config">
<exclude pattern="/etc/workflow/launcher/config/test"/>
</filter>
And
<f1
jcr:primaryType="nt:unstructured"
root="/etc/workflow/launcher/config"
rules="[exclude:/etc/workflow/launcher/config/test]"/>
in your /META-INF/vault/definition/.content.xml
Yogesh
Views
Replies
Total Likes
Hello,
For that you have to do something like in your /META-INF/vault/filter.xml,
<filter root="/etc/workflow/launcher/config">
<exclude pattern="/etc/workflow/launcher/config/test"/>
</filter>
And
<f1
jcr:primaryType="nt:unstructured"
root="/etc/workflow/launcher/config"
rules="[exclude:/etc/workflow/launcher/config/test]"/>
in your /META-INF/vault/definition/.content.xml
Yogesh
Views
Replies
Total Likes
Hi!
In this case:
<?xml version="1.0" encoding="UTF-8"?>
<workspaceFilter version="1.0">
<filter root="/apps/xxx-cms" />
<filter root="/etc/designs/xxx-cms" />
<filter root="/etc/workflow/launcher/config">
<include pattern="/etc/workflow/launcher/config/ecom_.*" />
</filter>
<filter root="/etc/workflow/models/xxx" />
<filter root="/etc/workflow/scripts/xxx" />
</workspaceFilter>
only files that start with ecom_ prefix should be deployed in CRX but it doesn't work (other files are deployed with a different prefix). What's the right pattern in this case?
Thanks
Views
Replies
Total Likes
Views
Likes
Replies