String (Project project) { StoreUtil.saveSettings(project); try { StringBuilder sb = new StringBuilder(); Element root = JDOMUtil.load(new File(project.getProjectFilePath())); for (Element componentElement : root.getChildren("component")) { if ("libraryTable".equals(componentElement.getAttributeValue("name"))) { for (Element libraryElement : componentElement.getChildren("library")) { sb.append(JDOMUtil.writeElement(libraryElement)); } } } return sb.toString(); } catch (Exception e) { throw new RuntimeException(e); } }