You can extend the Migration Tool and add your own Translators in
your plug-in project.
To add a Translator, do the following:
- Create a Plug-in project:
- In the Rational® Application
Developer, click . Expand Plug-in Development and
select Plug-in Project, and click Next.
- Enter the name of the project, and click Next,
and then in the dialog box that pops up, click Finish.
- The Plug-in project is created.
- Add new extensions:
- Click the Extensions tab, and click Add....
- The New Extension dialog box pops up:
- Clear the Show only extension points from the required plug-ins checkbox.
- There are four extension points available: ConfigDseIniTranslator, ConfigXMLTranslator, JavaTranslator, and JspTranslator. Select the extension points, and click Finish to
add these extensions:
- Create the extension instance. Take JavaTranslator for example:
- Right-click com.ibm.btt.tools.migration.JavaTranslator,
and select .
- The extension instance is created.
- In the right panel Extension Element Details, click
the type dropdown list, and select the extension type
and then click Browse... to implement the corresponding
Translator interface.