mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
This checkin does two things:
1. Refines the semantics of ghost creation, so that they only appear when warranted. 2. Implements a mechanism for filtering out files which should not appear in comparison results or be pushed along by updates. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4525 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -404,6 +404,9 @@
|
||||
<property name="avmSyncService">
|
||||
<ref bean="avmSyncService"/>
|
||||
</property>
|
||||
<property name="excluder">
|
||||
<ref bean="globalPathExcluder"/>
|
||||
</property>
|
||||
<property name="publicAction">
|
||||
<value>false</value>
|
||||
</property>
|
||||
|
@@ -243,6 +243,36 @@
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<!-- NameMatcher beans for filtering what shows up as different in compares. -->
|
||||
|
||||
<bean id="excludeRegexMatcher" class="org.alfresco.util.RegexNameMatcher">
|
||||
<property name="patterns">
|
||||
<list>
|
||||
<value>.*/#.*</value>
|
||||
</list>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<bean id="excludeExtensionMatcher" class="org.alfresco.repo.avm.util.FileExtensionNameMatcher">
|
||||
<property name="extensions">
|
||||
<list>
|
||||
<value>.o</value>
|
||||
<value>.bak</value>
|
||||
<value>.tmp</value>
|
||||
<value>~</value>
|
||||
</list>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<bean id="globalPathExcluder" class="org.alfresco.util.OrCompositeNameMatcher">
|
||||
<property name="matchers">
|
||||
<list>
|
||||
<ref bean="excludeExtensionMatcher"/>
|
||||
<ref bean="excludeRegexMatcher"/>
|
||||
</list>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
</beans>
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user