// and load from original dir (upgrade scenario)
public FileArchive openDDArchive(String appId, String appDir)
throws IOException, ConfigException {
FileArchive in = new FileArchive();
if (isSystemPredeployed(appId)) {
in.open(appDir);
} else {
String xmlDir = getGeneratedXMLLocation(appId);
if (FileUtils.safeIsDirectory(xmlDir)) {
if (isGeneratedObsolete(xmlDir)) {
_logger.log(Level.INFO, "core.gen_is_obsolete",