Bug 6478 Jar packager progress messages misleading
When exporting classes to a JAR file, the progress message says things like: "Exporting org.eclipse.foo.MyFile.java" This is misleading, because it looks like it's adding .java files to the zip, but it's actually adding class files. I actually canceled the export and went to check the jar file when I saw these messages. I suggest just trimming the .java suffix: "Exporting org.eclipse.foo.MyFile"
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
progressMonitor.done();
		}
	}
	
	protected boolean preconditionsOK() {
		if (!fJarPackage.areClassFilesExported() && !fJarPackage.areJavaFilesExported()) {
			addError(JarPackagerMessages.getString("JarFileExportOperation.noExportTypeChosen"), null); 
			return false;
		}
		if (fJarPackage.getSelectedElements() == null || fJarPackage.getSelectedElements().size() == 0) {
			addError(JarPackagerMessages.getString("JarFileExportOperation.noResourcesSelected"), null); 
			return false;
		}
		if (fJarPackage.getJarLocation() == null) {
			addError(JarPackagerMessages.getString("JarFileExportOperation.invalidJarLocation"), null); 
			return false;
		}
		if (!fJarPackage.doesManifestExist()) {
			addError(JarPackagerMessages.getString("JarFileExportOperation.manifestDoesNotExist"), null); 
			return false;
		}
		if (!fJarPackage.isMainClassValid(new BusyIndicatorRunnableContext())) {
			addError(JarPackagerMessages.getString("JarFileExportOperation.invalidMainClass"), null); 
			return false;
		}
		IEditorPart[] dirtyEditors= JavaPlugin.getDirtyEditors();
		if (dirtyEditors.length > 0) {
			List unsavedFiles= new ArrayList(dirtyEditors.length);
			List selection= fJarPackage.getSelectedResources();
			for (int i= 0; i < dirtyEditors.length; i++) {