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
/**
	 * Initialize web app settings.
	 * 
	 * @param map
	 * @return
	 */
	public static Map initWebapp( Map map )
	{
		if ( map == null )
			map = new HashMap( );
		
		IConfigurationElement[] elements = findConfigurationElementsByExtension( BIRT_WEBAPP_EXTENSION_POINT );
		if ( elements == null || elements.length <= 0 )
			return map;
		for ( int i = 0; i < elements.length; i++ )
		{
			IConfigurationElement[] contextParams = elements[i]
					.getChildren( EXT_CONTEXT_PARAM );
			IConfigurationElement[] listeners = elements[i]
					.getChildren( EXT_LISTENER );
			IConfigurationElement[] servlets = elements[i]
					.getChildren( EXT_SERVLET );
			IConfigurationElement[] servletMappings = elements[i]
					.getChildren( EXT_SERVLET_MAPPING );
			IConfigurationElement[] taglibs = elements[i]
					.getChildren( EXT_TAGLIB );
			
			if ( contextParams != null )
			{
				Map son = (Map) map.get( EXT_CONTEXT_PARAM );