// Initialise the MetaDataManager using the mapping files and class names
FileMetaData[] filemds1 = metaDataMgr.loadMetadataFiles(
(String[])metadataFiles.toArray(new String[metadataFiles.size()]), null);
FileMetaData[] filemds2 = metaDataMgr.loadClasses(
(String[])classNames.toArray(new String[classNames.size()]), null);
filemds = new FileMetaData[filemds1.length + filemds2.length];
int pos = 0;
for (int i=0;i<filemds1.length;i++)
{
filemds[pos++] = filemds1[i];