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
/*******************************************************************************
 * Copyright (c) 2000, 2003 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials 
 * are made available under the terms of the Common Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/cpl-v10.html
 * 
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.ui.wizards.datatransfer;
import java.io.File;
import java.lang.reflect.InvocationTargetException;
import java.util.List;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.jface.dialogs.*;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.swt.SWT;
import org.eclipse.swt.graphics.Font;
import org.eclipse.swt.widgets.*;
import org.eclipse.ui.help.WorkbenchHelp;
/**
 *	Page 1 of the base resource export-to-zip Wizard
 */
 class WizardZipFileResourceExportPage1 extends WizardFileSystemResourceExportPage1 {