Skip to content

Commit d84c9a5

Browse files
committed
Revert Duplicate RepositoryInitializer Configuration #804 (#805)
1 parent 1576c8e commit d84c9a5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/main/resources/META-INF/archetype-post-generate.groovy

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,13 @@ def varFolder = new File("$uiContentPackage/src/main/content/jcr_root/var")
3838
if (aemVersion.startsWith("6.4")){
3939
// remove json config files with ~ in naming as they are not compatible with 6.4.8.2
4040
assert new File("$configFolder/config/org.apache.sling.commons.log.LogManager.factory.config~${appId}.cfg.json").delete()
41-
assert new File("$configFolder/config/org.apache.sling.jcr.repoinit.RepositoryInitializer~${appId}.cfg.json").delete()
4241
assert new File("$configFolder/config.author/com.day.cq.wcm.mobile.core.impl.MobileEmulatorProvider~${appId}.cfg.json").delete()
4342
assert new File("$configFolder/config.prod/org.apache.sling.commons.log.LogManager.factory.config~${appId}.cfg.json").delete()
4443
assert new File("$configFolder/config.stage/org.apache.sling.commons.log.LogManager.factory.config~${appId}.cfg.json").delete()
4544
assert new File("$configFolder/config.publish/org.apache.sling.jcr.resource.internal.JcrResourceResolverFactoryImpl.cfg.json").delete()
4645
} else {
4746
// remove the old style config files
4847
assert new File("$configFolder/config/org.apache.sling.commons.log.LogManager.factory.config-${appId}.config").delete()
49-
assert new File("$configFolder/config/org.apache.sling.jcr.repoinit.RepositoryInitializer-${appId}.config").delete()
5048
assert new File("$configFolder/config.author/com.day.cq.wcm.mobile.core.impl.MobileEmulatorProvider-${appId}.config").delete()
5149
assert new File("$configFolder/config.prod/org.apache.sling.commons.log.LogManager.factory.config-${appId}.config").delete()
5250
assert new File("$configFolder/config.stage/org.apache.sling.commons.log.LogManager.factory.config-${appId}.config").delete()

0 commit comments

Comments
 (0)