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
else if (selectedElement.getNodeName().equals("javaElement")) 
					addJavaElement(elementsToExport, selectedElement);
				
			}
			jarPackage.setElements(elementsToExport.toArray());
		}
	}
	protected boolean getBooleanAttribute(Element element, String name, boolean defaultValue) throws IOException {
		if (element.hasAttribute(name))
			return getBooleanAttribute(element, name);
		else
			return defaultValue;
	}
	protected boolean getBooleanAttribute(Element element, String name) throws IOException {
		String value= element.getAttribute(name);
		if (value != null && value.equalsIgnoreCase("true")) 
			return true;
		if (value != null && value.equalsIgnoreCase("false")) 
			return false;
		throw new IOException(JarPackagerMessages.JarPackageReader_error_illegalValueForBooleanAttribute); 
	}
	private void addFile(Set selectedElements, Element element) throws IOException {
		IPath path= getPath(element);
		if (path != null) {
			IFile file= JavaPlugin.getWorkspace().getRoot().getFile(path);
			if (file != null)
				selectedElements.add(file);
		}
	}
	private void addFolder(Set selectedElements, Element element) throws IOException {