Bug 163749 Import BIRT runtime package to wtp will leave old birt files.
Description: Import BIRT runtime package to wtp will leave old birt files. Steps to reproduce: Prepare two birt builds. 1. Create a new BIRT Web Project with one build. 2. Use another build to open the same workspace, select the project and click Business Inteligent and Reporting Tools->Import BIRT runtime component. Expected result: Old birt runtime package will be replaced with new runtime package. Actual result: Old birt plugins were kept and new birt jar files are imported. e.g. org.eclipse.birt.report.engine_2.2.0.v20061101-0630.jar org.eclipse.birt.report.engine_2.2.0.v20061107-0635.jar
viewer/org.eclipse.birt.integration.wtp.ui/src/org/eclipse/birt/integration/wtp/ui/internal/wizards/BirtWizardUtil.java
import org.eclipse.core.runtime.FileLocator;
import org.eclipse.core.runtime.IConfigurationElement;
import org.eclipse.core.runtime.IExtension;
import org.eclipse.core.runtime.IExtensionPoint;
import org.eclipse.core.runtime.IExtensionRegistry;
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.Platform;
import org.eclipse.core.runtime.SubProgressMonitor;
import org.eclipse.jst.j2ee.internal.project.J2EEProjectUtilities;
import org.eclipse.ui.dialogs.IOverwriteQuery;
import org.eclipse.ui.wizards.datatransfer.ImportOperation;
import org.eclipse.ui.wizards.datatransfer.ZipFileStructureProvider;
import org.eclipse.wst.common.componentcore.ComponentCore;
import org.eclipse.wst.common.componentcore.datamodel.properties.IFacetProjectCreationDataModelProperties.FacetDataModelMap;
import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
import org.eclipse.wst.common.frameworks.datamodel.IDataModel;
import org.osgi.framework.Bundle;
/**
 * Birt Wizard Utility
 * 
 */
public class BirtWizardUtil implements IBirtWizardConstants
{
	/**
	 * Find Configuration Elements from Extension Registry by Extension ID
	 * 
	 * @param extensionId
	 * @return
	 */