Bug 102285 [Import/Export] Project Import wizard unusably slow
R3.1 I wanted to create a new 3.2 workspace and import some projects from my 3.1 development workspace which contains around 120 plug-ins. I've set the root of the importer to point at those plug-ins. After letting the wizard scan my disk for over 10 minutes I gave up and did it manually. A possible source for the problem might be that the root directory (as expected) contains a .metadata directory with tons of data (in my case) and that this one is fully scanned.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/wizards/datatransfer/WizardProjectsImportPage.java
private boolean collectProjectFilesFromDirectory(Collection files,
			File directory, IProgressMonitor monitor) {
		if (monitor.isCanceled())
			return false;
		monitor.subTask(NLS.bind(
				DataTransferMessages.WizardProjectsImportPage_CheckingMessage,
				directory.getPath()));
		File[] contents = directory.listFiles();
		
		final String dotProject = IProjectDescription.DESCRIPTION_FILE_NAME;
		for (int i = 0; i < contents.length; i++) {
			File file = contents[i];
			if (file.isFile() && file.getName().equals(dotProject)) {
				files.add(file);
				
				
				return true;
			}
		}
		
		for (int i = 0; i < contents.length; i++) {
			if (contents[i].isDirectory())
				collectProjectFilesFromDirectory(files, contents[i], monitor);
		}
		return true;
	}
	/**
	 * Collect the list of .project files that are under directory into files.
	 * 
	 * @param files