String path = new MetsNavTestCase().getClass().getProtectionDomain().getCodeSource().getLocation().getPath();
FileSystemDataSource dsConfig_1_6 = new FileSystemDataSource();
dsConfig_1_6.setAbsolutePath(path);
dsConfig_1_6.setMetsVersion("1.6");
dsConfig_1_6.setDaoType("edu.indiana.dlib.metsnav.dao.PersistentMetsFileDAO");
config_1_6 = new CollectionConfig();
config_1_6.setDataSource(dsConfig_1_6);
FileSystemDataSource dsConfig_1_5 = new FileSystemDataSource();
dsConfig_1_5.setAbsolutePath(path);
dsConfig_1_5.setMetsVersion("1.5");
dsConfig_1_5.setDaoType("edu.indiana.dlib.metsnav.dao.PersistentMetsFileDAO");
config_1_5 = new CollectionConfig();
config_1_5.setDataSource(dsConfig_1_5);
FileSystemDataSource dsConfig_1_4 = new FileSystemDataSource();
dsConfig_1_4.setAbsolutePath(path);
dsConfig_1_4.setMetsVersion("1.4");
dsConfig_1_4.setDaoType("edu.indiana.dlib.metsnav.dao.PersistentMetsFileDAO");
config_1_4 = new CollectionConfig();
config_1_4.setDataSource(dsConfig_1_4);
FileSystemDataSource dsConfig_ead = new FileSystemDataSource();
dsConfig_ead.setAbsolutePath(path);
dsConfig_ead.setMetsVersion("ead");
dsConfig_ead.setDaoType("edu.indiana.dlib.metsnav.dao.PersistentMetsFileDAO");
config_ead = new CollectionConfig();
config_ead.setDataSource(dsConfig_ead);
CompositeCacheManager cacheMgr = null;
System.out.println(path);
root = path.substring(0, path.indexOf("/build/"));