Bug 6125 JAR packager reports open files very late
1. edit in a file, don't save 2. open the JAR packager on it's project 3. enter all path, destination, name of jar packager description, etc 4. press finish: 'JAR creation failed: Unsaved Editors' 5. To save, I have to quit the wizard, save, open the wizard again and then enter all fields again - I should be allowed to create a JAR with unsaved editors - If not, there should be a dialog to allow saving
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
} else if (element instanceof IPackageFragment)
			exportPackageFragment(progressMonitor, (IPackageFragment)element);
		else
			exportContainer(progressMonitor, resource);
	}
	private void exportPackageFragment(IProgressMonitor progressMonitor, IPackageFragment pkgFragment) throws java.lang.InterruptedException {
		Object[] children;
		try {
			children= pkgFragment.getChildren();
			for (int i= 0; i < children.length; i++)
				exportElement(children[i], progressMonitor);
			children= pkgFragment.getNonJavaResources();
			for (int i= 0; i < children.length; i++)
				exportElement(children[i], progressMonitor);
		} catch (CoreException e) {
			
			addWarning(JarPackagerMessages.getFormattedString("JarFileExportOperation.errorDuringExport", pkgFragment.toString()), e); 
		}
	}
	private void exportContainer(IProgressMonitor progressMonitor, IResource resource) throws java.lang.InterruptedException {
		IResource[] children= null;
		try {
			children= ((IContainer) resource).members();
		} catch (CoreException e) {
			
			addWarning(JarPackagerMessages.getFormattedString("JarFileExportOperation.errorDuringExport", resource.getFullPath()), e); 
		}
		for (int i= 0; i < children.length; i++)
			exportElement(children[i], progressMonitor);
	}