Packaging custom UML profiles

To deploy your custom UML profile, create a plug-in and package your profile in the new plug-in. Then, modify the plugin.xml file to include an extension point to your profile. You can then install the profile plug-in and apply the profile to a model. You should define a pathmap to the profile.

Before you deploy your profile, you must validate the profile and resolve any errors.
To package a custom UML profile:
  1. Create a plug-in. A folder that contains the plug-in files is generated when you create a plug-in. One of the generated files is a plugin.xml file.
  2. In the main directory of your plug-in, create a folder called Profiles.
  3. Close the UML Profile Editor.
  4. Copy the EPX file to the Profiles folder.
  5. In your new plug-in folder, in the plugin.xml file, add the profile extension point.
  6. To define a pathmap to the profile, complete the following steps:
    1. Add com.ibm.xtools.emf.msl to the required plug-ins.
    2. Add com.ibm.xtools.emf.msl.Pathmaps to the extension point.
    3. Add a pathmap to the extension point from the previous step that specifies the name and the path of the profile.
  7. Copy the profile plug-in to the plug-ins folder of your installation directory.
Related concepts
Custom UML profiles
Related reference
Extension point reference: UML profiles
Plug-in creation process
Terms of use | Feedback
(C) Copyright IBM Corporation 2004, 2005. All Rights Reserved.