Continuous Migration Process Overview

Once the code is stored on the source control folder structure, the following process should be followed to perform a re-migration of the VB6 code:

The recommended folder configuration in the Source Control System for Continuous Migration is to have three top-level folders:

  • Check in and flag the Visual Basic 6.0, to identify which version of the source code was used to generate the green code.
  • Migrate the code using the Visual Basic Upgrade Companion to generate the new green code with the desired changes
  • 3) Replace the existing Green Code with the newly generated Green Code in the local copy.
  • 4) Check in the green code to the source control system in the Green Code folder. Make sure that a comment or tag is added with the following information:
    • Green Code Date
    • VB6 Source Code Date/ version
    • VBUC version used to generate the Green Code
  • Perform a merge between the newly generated Green Code and the current Migrated Code branch. It will only try to merge the differences between the previous and new versions of the Green Code into the Migrated Code branch. Fix merge conflicts, if any.
  • The code resulting from this merge will have both the changes in the Green Code and the Manual Changes previously performed to it.
Continuous Migration Process Overview

With the correct source control setup, following these simple steps allow the re-migration of the application without losing the manual changes already applied to the migrated code.


See also