String directory = instr.getDirectory();
if (directory != null && directory.length() > 0)
loader.addImportedPath(directory);
return null;
}});
mapper.loadMappings(loader.load(baseDir));
// NOTE: this style of resource mapping is not supported by the
// "default map data source" functionality at this time.
}
}