public static ProjectLibrary loadProjectLibrary(String fullPath, ResourceBridge rb) throws Exception { FileSystem fs = FileSystem.createFileSystem(fullPath, rb); org.jdom.Document doc = fs.getXMLDocument(FileSystem.getFileNameOf(fullPath)); ProjectLibrary pl = new ProjectLibrary(rb, fs, fullPath); // pl.load(doc.getRootElement()); pl.setProperties(doc.getRootElement(), null); return pl; }