Bug 209558 [Import/Export] FileSystemImportWizard and FileSystemExportWizard require the compatibility plug-in
Build ID: M20070921-1145 Steps To Reproduce: 1.Create an RCP app. 2.Add an export wizard to plugin.xml, pointing to org.eclipse.ui.wizards.datatransfer.ZipFileExportWizard. Could also just invoke it from code, like in an action. 3.Attempt to run the wizard and observe the error message. More information: ZipFileImportWizard, ExternalProjectImportWizard, PreferencesImportWizard, and PreferencesExportWizard can be brought up fine in the same RCP app, while FileSystemImportWizard and FileSystemExportWizard issue the message. The difference is that the wizards which start up call WorkbenchPlugin.getDefault(), while the ones which don't call the deprecated method Platform.getPlugin(). I figured out that adding the org.eclipse.core.runtime.compatibility plug-in to the dependency list allows all the wizards to start up without the message. It seems like perhaps all these classes ought to be calling WorkbenchPlugin.getDefault() now.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/wizards/datatransfer/ZipFileExportWizard.java
import org.eclipse.ui.IExportWizard;
import org.eclipse.ui.IWorkbench;
import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.ide.IDE;
import org.eclipse.ui.internal.ide.IDEWorkbenchPlugin;
import org.eclipse.ui.internal.wizards.datatransfer.DataTransferMessages;
import org.eclipse.ui.internal.wizards.datatransfer.WizardArchiveFileResourceExportPage1;
import org.eclipse.ui.plugin.AbstractUIPlugin;
/**
 * Standard workbench wizard for exporting resources from the workspace
 * to a zip file.
 * <p>
 * This class may be instantiated and used without further configuration;
 * this class is not intended to be subclassed.
 * </p>
 * <p>
 * Example:
 * <pre>
 * IWizard wizard = new ZipFileExportWizard();
 * wizard.init(workbench, selection);
 * WizardDialog dialog = new WizardDialog(shell, wizard);
 * dialog.open();
 * </pre>
 * During the call to <code>open</code>, the wizard dialog is presented to the
 * user. When the user hits Finish, the user-selected workspace resources 
 * are exported to the user-specified zip file, the dialog closes, and the call
 * to <code>open</code> returns.
 * </p>
 */
public class ZipFileExportWizard extends Wizard implements IExportWizard {