new File(
publication.getDirectory(),
DocumentTypeBuilder.DOCTYPE_DIRECTORY);
try {
DocumentIdToPathMapper mapper = publication.getPathMapper();
log.debug("Parent directory: " + mapper.getFile(publication, "authoring", parentId, language));
creator.create(
publication,
new File(doctypesDirectory, "samples"),
mapper.getDirectory(publication, "authoring", parentId, language),
//new File(authoringDirectory, parentId),
parentId,
childId,
childType,
childName,