Bug 86681 Jar exporter: add directories entries not persisted between sessions
- follow smoke test for jar exporter - check Add directories entries - observe: when opening the jar description file the item isn't checked.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarPackageReader.java
for (int j= 0; j < sealingElementContainer.getLength(); j++) {
			Node sealingNode= sealingElementContainer.item(j);
			if (sealingNode.getNodeType() == Node.ELEMENT_NODE
				&& sealingNode.getNodeName().equals("sealing")) { 
				
				Element sealingElement= (Element)sealingNode;
				jarPackage.setSealJar(getBooleanAttribute(sealingElement, "sealJar")); 
				jarPackage.setPackagesToSeal(getPackages(sealingElement.getElementsByTagName("packagesToSeal"))); 
				jarPackage.setPackagesToUnseal(getPackages(sealingElement.getElementsByTagName("packagesToUnSeal"))); 
			}		
		}
	}
	private void xmlReadSelectedElements(JarPackageData jarPackage, Element element) throws java.io.IOException {
		if (element.getNodeName().equals("selectedElements")) { 
			jarPackage.setExportClassFiles(getBooleanAttribute(element, "exportClassFiles")); 
			jarPackage.setExportOutputFolders(getBooleanAttribute(element, "exportOutputFolder", false)); 
			jarPackage.setExportJavaFiles(getBooleanAttribute(element, "exportJavaFiles")); 
			NodeList selectedElements= element.getChildNodes();
			Set elementsToExport= new HashSet(selectedElements.getLength());
			for (int j= 0; j < selectedElements.getLength(); j++) {
				Node selectedNode= selectedElements.item(j);
				if (selectedNode.getNodeType() != Node.ELEMENT_NODE)
					continue;
				Element selectedElement= (Element)selectedNode;
				if (selectedElement.getNodeName().equals("file")) 
					addFile(elementsToExport, selectedElement);
				else if (selectedElement.getNodeName().equals("folder")) 
					addFolder(elementsToExport,selectedElement);
				else if (selectedElement.getNodeName().equals("project")) 
					addProject(elementsToExport ,selectedElement);