Migrating Project Using Command line

Another option for a speedy migration is migrating the projects using the command line.

Usage: bwmigrator [-options] BW5Project...

where options include the following:
Option Description
-projectDir Location where TIBCO BusinessWorks™ Container Edition projects are to be generated.
BW5Project... Location\locations of TIBCO ActiveMatrix BusinessWorks™ 5.x projects.
-propFile The bw6migration.properties file. The syntax for passing the bw6migration properties file is bwmigrator.exe [-data <User_Workspace>] -projectDir <BusinessWorks 6.x Target directory> <BusinessWorks 5.x Project location> -propFile <bw6migration.properties location>.

The template can be found at, <TIBCO_HOME>\bw\6.4\config\bw6migration_template.properties.

Examples

  • bwmigrator -projectDir <BWCE_PROJECTS_HOME>\projects <TIBCO_HOME>\5.9\examples\activities\file\File (Migrates single TIBCO ActiveMatrix BusinessWorks™ 5.x project.)
  • bwmigrator -projectDir <BWCE_PROJECTS_HOME>\projects <TIBCO_HOME>\5.9\examples\activities\file\File <TIBCO_HOME>\5.9\examples\activities\ftp\ftp (Migrates File and FTP TIBCO ActiveMatrix BusinessWorks™ 5.x projects.)
  • bwmigrator -projectDir <BWCE_PROJECTS_HOME>\projects <TIBCO_HOME>\5.9\examples\activities (Migrates all TIBCO ActiveMatrix BusinessWorks™ 5.x projects in activities directory.)
  • bwmigrator -projectDir <BWCE_PROJECTS_HOME>\projects <TIBCO_HOME>\5.9\examples\file <TIBCO_HOME>\5.9\examples\ftp (Migrates all TIBCO ActiveMatrix BusinessWorks™ 5.x Projects in File and FTP directories.)

Procedure

  • In the command prompt, type the following command:
    bwmigrator.exe -projectDir c:/temp <BW 5.x Project Path>
    Note: For Java migration type the following command: bwmigrator.exe -projectDir c:/temp -classpath <Jar Location Path> <BW 5.x Project Path>