if (archMappingFile != null && archMappingFile.exists()) {
archMapping = ArchitectureMappingDAO.read(archMappingFile.getLocation().toOSString());
archMapping.setMappingFile(archMappingFile);
} else {
// if no architecture mapping should be used, create a new one
archMapping = new ArchitectureMapping();
}
styleMapping = loadStyleMapping(archMappingFile, archMapping.getStyleMappingFile(),
conf.getArchitecturalStyle(), archMapping.getStyleMappingName());