Bug 97523 [Import/Export] Get overwrite prompt before no resources selected prompt
3.1 RC1 - File > Export > Archive - clear any selected resources - enter an archive file name where the file already exists - Finish - it prompts to overwrite the file; choose Yes - it says "There are no resources currently selected for export" (OK) Should get the "no resources" prompt first, and not bother with the second one. Should check the other export wizards too.
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/WizardExportResourcesPage.java
if (hasExportableExtension(resource.getName())) {
                            List resourceList = new ArrayList();
                            IContainer parent = resource.getParent();
                            if (selectionMap.containsKey(parent))
                                resourceList = (List) selectionMap.get(parent);
                            resourceList.add(resource);
                            selectionMap.put(parent, resourceList);
                        }
                    } else
                        setupSelectionsBasedOnSelectedTypes(selectionMap,
                                (IContainer) resource);
                }
                resourceGroup.updateSelections(selectionMap);
            }
        };
        BusyIndicator.showWhile(getShell().getDisplay(), runnable);
    }
    /**
     * Set up the selection values for the resources and put them in the selectionMap.
     * If a resource is a file see if it matches one of the selected extensions. If not
     * then check the children.
     * @return a boolean if any children are selected
     */
    private void setupSelectionsBasedOnSelectedTypes(Map selectionMap,
            IContainer parent) {
        List selections = new ArrayList();
        IResource[] resources;
        boolean hasFiles = false;
        try {
            resources = parent.members();