Example #1
0
 public static ProjectLibrary getProjectLibrary(
     org.jdom.Element e, ResourceBridge rb, FileSystem fileSystem, String fullPath)
     throws Exception {
   ProjectLibrary pl = new ProjectLibrary(rb, fileSystem, fullPath);
   // pl.load(e);
   pl.setProperties(e, null);
   return pl;
 }
Example #2
0
 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;
 }