Bug 36867 [Import/Export] Zip export dialog not append .zip if there is already an extension
Sometimes, when the Jar export dialog doesn't have the options I want, I use the zip export dialog to build a jar. Unfortunately, if I specify a file name of foo.jar, the zip export dialog insists on adding ".zip" to the end of the file name. Would it be possible to make it so ".zip" is not automatically added if there is already an extension on the file name (or specifically if ".jar" is there)? Or could there be a checkbox added on the export dialog to turn off the automatic appending of .zip?
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/wizards/datatransfer/WizardZipFileResourceExportPage1.java
}
		if (targetFile.exists()) {
			if (targetFile.canWrite()) {
				if (!queryYesNoQuestion(DataTransferMessages.getString("ZipExport.alreadyExists"))) 
					return false;
			}
			if (!targetFile.canWrite()) {
				displayErrorDialog(DataTransferMessages.getString("ZipExport.alreadyExistsError")); 
				giveFocusToDestination();
				return false;
			}
		}
		return true;
	}
	/**
	 * Ensures that the target output file and its containing directory are
	 * both valid and able to be used.  Answer a boolean indicating validity.
	 */
	protected boolean ensureTargetIsValid() {
		String targetPath = getDestinationValue();
		if (!ensureTargetDirectoryIsValid(targetPath))
			return false;
		if (!ensureTargetFileIsValid(new File(targetPath)))
			return false;
		return true;
	}
	/**
	 *  Export the passed resource and recursively export all of its child resources
	 *  (iff it's a container).  Answer a boolean indicating success.
	 */