Hi Bertrand, I was just going through the source since yesterday to make the necessary changes. As I see it, we need to add additional parameter(say folderNodeType) to "org.apache.sling.jcr.contentloader.ImportOptions.java" and also modify "org.apache.sling.servlets.post.impl.operations.ImportOperation.java" (Apache Sling Default POST Servlet bundle) to initialize the above parameter.
Secondly, "org.apache.sling.jcr.contentloader.internal.readers.ZipReader.java" doesn't have the 'import options' information with it. This information is available with "org.apache.sling.jcr.contentloader.internal.DefaultContentCreator.java" that has generic methods used by other readers (JsonReader, XmlReader). So either ZipReader has to know this 'import options' (OR) DefaultContentCreator needs to be modified to check if the reader is a ZipReader and check if the 'import options' has this additional parameter (folderNodeType). What do you suggest? -- View this message in context: http://apache-sling.73963.n3.nabble.com/Importing-Content-Structures-zip-tp4034859p4036256.html Sent from the Sling - Users mailing list archive at Nabble.com.