Migrating Projects Using the Command Line
This section describes how to migrate the projects using the command line.
Usage:
bwmigrator [-options] BW5Project...
where options include the following:
| Option | Description |
|---|---|
-projectDir | Location where ActiveMatrix BusinessWorks 6.x projects are generated. |
BW5Project... | Location\locations of 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 is at,
|
Examples
bwmigrator -projectDir <BW6_PROJECTS_HOME>\projects <TIBCO_HOME>\5.9\examples\activities\file\File(Migrates single ActiveMatrix BusinessWorks 5.x project.)bwmigrator -projectDir <BW6_PROJECTS_HOME>\projects <TIBCO_HOME>\5.9\examples\activities\file\File <TIBCO_HOME>\5.9\examples\activities\ftp\ftp(Migrates File and FTP ActiveMatrix BusinessWorks 5.x projects.)bwmigrator -projectDir <BW6_PROJECTS_HOME>\projects <TIBCO_HOME>\5.9\examples\activities(Migrates all ActiveMatrix BusinessWorks 5.x projects in activities directory.)bwmigrator -projectDir <BW6_PROJECTS_HOME>\projects <TIBCO_HOME>\5.9\examples\file <TIBCO_HOME>\5.9\examples\ftp(Migrates all ActiveMatrix BusinessWorks 5.x Projects in File and FTP directories.)
- Procedure
- For Java migration enter the following command:
bwmigrator.exe -projectDir c:/temp -classpath <Jar Location Path> <BW 5.x Project Path>
- For non-Java migration enter the following command:
bwmigrator.exe -projectDir c:/temp <BW 5.x Project Path>
- For the Eclipse environment, run the
bwmigrator tool as described in step 2, but use a temporary directory (not the Eclipse workspace directory) as a target.
In addition, to make the project visible in the current workspace, open the Eclipse UI, select , and specify the temporary directory as the source.