# Configuration Duplication Maps

###### Identifier:

org.eclipse.ui.externaltools.configurationDuplicationMaps

###### Since:

3.0

###### Description:

This is an internal extension point to declare the launch configuration type that should be created when duplicating an existing configuration as a project builder. Clients are not intended to use this extension point.

###### Configuration Markup:

<!ELEMENT extension (configurationMap*)>

<!ATTLIST extension

point CDATA #REQUIRED

id CDATA #IMPLIED

name CDATA #IMPLIED>

<!ELEMENT configurationMap EMPTY>

<!ATTLIST configurationMap

sourceType IDREF #REQUIRED

builderType IDREF #REQUIRED>

- sourceType - specifies the identifier of the launch configuration type for which this mapping is provided
- builderType - specifies the identifier of the launch configuration type which should be created when a configuration of type "sourceType" is imported to be a project builder

###### Examples:

The following example specifies that when the user chooses to import a launch configuration of the type "org.eclipse.ui.externaltools.ProgramLaunchConfigurationType", a new launch configuration of the type"org.eclipse.ui.externaltools.ProgramBuilderLaunchConfigurationType" should be created.

    <extension
          point="org.eclipse.ui.externaltools.configurationDuplicationMaps">
       <configurationMap
             sourceType="org.eclipse.ui.externaltools.ProgramLaunchConfigurationType"
             builderType="org.eclipse.ui.externaltools.ProgramBuilderLaunchConfigurationType">
       </configurationMap>
    </extension>

Copyright (c) 2003, 2005 IBM Corporation and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html