|
||
MigrationCheck
The MigrationCheck
tool allows you to determine which APIs
need to be migrated when upgrading your program to a later Symbian OS version.
When running MigrationCheck
you need to define the
following:
The program binaries to be migrated.
The GenerateLibDB
output, or a Symbian OS platform, or a
Symbian OS release directory.
NOTE: The Symbian OS release directory should correspond to the version you are migrating from (i.e. the version your program binaries are built against).
The Migration Guide Index. This lists the affected APIs when migrating from one particular Symbian OS version to another. There are currently four Migration Guide Indices available and are in the following locations:
6.1 to 7.0s migration -
<EPOCOOT>\doc\packages\SDL7.0s\doc_source\DevGuides\migration\61_70s\migindex7.0s.mig
7.0s to 8.0a migration -
excluding version 8 features that were backported to 7.0s:
<EPOCOOT>\doc\packages\SDL7.0s\doc_source\DevGuides\migration\70s_80a\migindex8.0a.mig
including version 8 features that were backported to 7.0s:
<EPOCOOT>\doc\packages\SDL7.0s\doc_source\DevGuides\migration\70s_80a\migindex8.0a-7.0slatest.mig
8.1b to 9.2 migration -
<EPOCOOT>\doc\packages\SDL7.0s\doc_source\DevGuides\migration\81b_92\migindex81b-92.mig
The Symbian OS Library, supplied with the Symbian OS release that you are migrating to.
The MigrationCheck
tool checks your specified binaries
against the Migration Guide Index and a report is produced in HTML format,
displaying all the modified APIs that need to be migrated. For each API listed
a hyperlink to the relevant section in the Migration Guide section of the Symbian OS Library is also displayed.
NOTE:You can open the HTML report in Excel for easier data manipulation.
The command line syntax used for MigrationCheck
is shown
below:
>MigrationCheck.pl -i <XML file> -d <CHM file> -b
<binary file> B <text file> [-libdb <test file> | -p
<platform> | -r <directory>] -R <HTMLreport>
The following arguments are used with the MigrationCheck
tool.
|
Defines the name and location of the Migration Guide Index, for
example
|
|
Defines the name and location of the Symbian OS Library
|
|
Defines the name and location of the Symbian OS binary files to be checked (one or more binary files can be entered). |
|
Defines the name and location of a text file containing a list of all the Symbian OS binary files to be checked (one binary file per line). |
|
The name and location of the output file generated by
|
|
Specifies the Symbian OS platform to be used, for example ARM4,
ARMv5, ARMi, Thumb etc.. The default is ARM4. This is optional, and only needs
to be used in when the |
|
Specifies the full path of the release directory, where the
libraries are to be found, for example |
|
Defines the name and location of the HTML report displaying the
results. The default is |
|
Displays help information (optional). |
A full example of using MigrationCheck
is shown below:
>MigrationCheck.pl -i migration_guide_index_70s80.xml -d 80_devlib.chm -b myBinary.exe -libdb SymLibDB.dat -R myReport.html