if (scp.getXmldescriptor().isEmpty()) {
return false;
}
logger = scp.loggerFactory.getLogger(LOGGER_NAME);
jormcompiler = (JormCompiler) scp.generatorsContext.get("jormcompiler");
JormCompilerParameter jcp = jormcompiler.getCompilerParameter();
jcp.setProjectName(scp.projectName);
jcp.setBindingInheritance("%p%c");
jcp.setClassMappingInheritance("%p%cHome");
jcp.setOutput(scp.output);
jcp.setBindingAbstract(true);
jcp.setDtdLocations(scp.dtdLocations);
jcp.setInputFiles(scp.jorm);
DirJavaExplorer pe = new DirJavaExplorer();
pe.setLogger(scp.loggerFactory.getLogger("org.objectweb.jorm.io.pathexplorer"));
pe.addPath(scp.jormclasspath);
jcp.setClasspath(pe);
jcp.setGenerateBinding(false);
jcp.setGeneratedWithMapperPackage(false);
return true;
}