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:
- 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.
- In the main directory of your plug-in, create a folder
called Profiles.
- Close the UML Profile Editor.
- Copy the EPX file to the Profiles folder.
- In your new plug-in folder, in the plugin.xml file, add
the profile extension point.
- To define a pathmap to the profile, complete the following
steps:
- Add com.ibm.xtools.emf.msl to
the required plug-ins.
- Add com.ibm.xtools.emf.msl.Pathmaps to
the extension point.
- Add a pathmap to the extension point from the previous
step that specifies the name and the path of the profile.
- Copy the profile plug-in to the plug-ins folder of your
installation directory.