MetaDataFactory mdf = _conf.newMetaDataFactoryInstance();
mdf.setRepository(getRepository());
mdf.setStoreDirectory(_dir);
if (perClass)
mdf.setStoreMode(MetaDataFactory.STORE_PER_CLASS);
mdf.store(mappings, new QueryMetaData[0], new SequenceMetaData[0],
MODE_META | MODE_MAPPING, output);
Set files = new TreeSet();
for (int i = 0; i < mappings.length; i++)
if (mappings[i].getSourceFile() != null)