kwin commented on code in PR #143:
URL:
https://github.com/apache/sling-org-apache-sling-feature-cpconverter/pull/143#discussion_r943520990
##########
src/main/java/org/apache/sling/feature/cpconverter/handlers/slinginitialcontent/BundleSlingInitialContentJarEntryExtractor.java:
##########
@@ -109,12 +109,6 @@ void extractAndAddToAssembler(@NotNull
BundleSlingInitialContentExtractContext c
throw new IOException("Can not convert " + file + " to
enhanced DocView format", e);
}
- // remap CND files to make sure they are picked up by the
NodeTypesEntryHandler
- if
(context.getNamespaceRegistry().getRegisteredCndSystemIds().contains(file.getName()))
{
- contentPackageEntryPath = "/META-INF/vault/" +
Text.getName(file.getName()) + ".cnd";
Review Comment:
Either put into repo init statements or into content packages, not both!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]