You can extend the migration tool and add your own translators in
your plug-in project.
To add a translator, take the following steps:
Create a plug-in project.
In menu bar of IBM® Rational® Application Developer, click File > New > Others....
Expand Plug-in Development, select Plug-in
Project, and click Next.
Enter the name of the project, and click Next.
In the dialog box that is displayed, click Finish,
and the plug-in project is created.
Add new extensions.
Click the Extensions tab.
Under the Extensions tab, click Add.... The New Extension dialog box is displayed. See
the following figure.
Figure 1. Adding new extensions
Clear the Show only extension points from the required
plug-ins check box.
Select the extension points, and click Finish to
add the selected extension points. There are three extension points
available: ConfigDseIniTranslator, ConfigXMLTranslator,
and JavaTranslator. See the following figure.
Figure 2. Selecting extension points
Create the extension instance (taking JavaTranslator for example
here).
Right-click the extension point com.ibm.btt.tools.migration.JavaTranslator,
and select New > Translator. Then the extension instance is created. See the
following figure.
Figure 3. Creating extension instance
Implement the corresponding translator interface.
Open the panel Extension Element Details on
the right.
Select the extension type from the type dropdown
list, and then click Browse.... See the
following figure.
Figure 4. Extension element details
Note:ConfigDseIniTranslator and ConfigXMLTranslator do
not have this attribute.