Exclude pattern in filter.xml not working
Hi All,
I'm having trouble understanding a fundamental AEM concept and could use some guidance.
I have a configuration folder for the config.local.author runmode.
I want to exclude this folder from deployment so that any changes made via the OSGi Configuration Manager are retained and not overwritten during code deployments.
This is my filter.xml:
<?xml version="1.0" encoding="UTF-8"?>
<workspaceFilter version="1.0">
<filter root="/apps/fc2/osgiconfig">
<exclude pattern="/apps/fc2/osgiconfig/config.prod" />
<exclude pattern="/apps/fc2/osgiconfig/config.perf" />
<exclude pattern="/apps/fc2/osgiconfig/config.qa1" />
<exclude pattern="/apps/fc2/osgiconfig/config.qa2" />
<exclude pattern="/apps/fc2/osgiconfig/config.local.author" />
</filter>
</workspaceFilter>
I expect that the changes made on the local author instance via config mgr will be retained, and the configuration provided in the code should not overwrite them during deployment.
However, it is getting overwritten with the value for that config in code base.
NOTE: There is no other module which is including /apps/fc2/osgiconfig/config.local.author.