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/JarPackageWriter.java
return;
		}
		if (resource.getType() == IResource.FILE)
			element= document.createElement("file"); 
		else if (resource.getType() == IResource.FOLDER)
			element= document.createElement("folder"); 
		parent.appendChild(element);
		element.setAttribute("path", resource.getFullPath().toString()); 
	}
	
	private void add(IJavaElement javaElement, Element parent, Document document) {
		Element element= document.createElement("javaElement"); 
		parent.appendChild(element);
		element.setAttribute("handleIdentifier", javaElement.getHandleIdentifier()); 
	}
	private void add(IPackageFragment[] packages, Element parent, Document document) {
		for (int i= 0; i < packages.length; i++) {
			Element pkg= document.createElement("package"); 
			parent.appendChild(pkg);
			pkg.setAttribute("handleIdentifier", packages[i].getHandleIdentifier()); 
		}
	}
	/*
	 * This writer always returns OK
	 */
	public IStatus getStatus() {
		return new Status(IStatus.OK, JavaPlugin.getPluginId(), 0, "", null); 
	}
}