Command line Configuration File Template

The TIBCO BusinessWorks™ Container Edition migration configuration file, .properties file is a template file that contains configurable properties to migrate design time libraries, custom XPath functions, selected processes and projects using the command line.

To migrate projects using the command line migration option open the .properties file and paste the command from the .properties file on the command prompt and execute the command which has the following format as stated below:

Example: bwmigrator.exe [-data <User_Workspace>] -projectDir <BusinessWorks 6.x Target directory> <BusinessWorks 5.x Project location> -propFile <.properties location>

Note: Optionally, you can also modify the path for User_Workspace. If the User_Workspace path has been modified, ensure that the same path is provided for BW6 Target directory.

The properties to be configured to migrate design time libraries, custom XPath functions, and selected processes are explained in the tables below.

Selective Migration
Property Description
selectProcess

The default value false will migrate all the processes.

Set the property to true to migrate only the specified processes.
selectLinkedProcess

The default value false will migrate the specified main process. For example, .process=<process1>,<process2>...

Set the property to true to migrate all the dependent processes, of the specified main process. For example,.process=<folder1/process1>,</process2>,. Specifying the main process path will migrate all the processes that are dependent on the main process.
.process Provide comma separated processes with relative process paths with respect to the ActiveMatrix BusinessWorks 5.x project root folder as explained in the following example. .process=Service/ZipInfo-service1.serviceagent,TestService/getCityInfoTest.process,Service/getCityInfoService.process,TestService/getCityDistanceTestJMS.process,Service/getCityDistanceService.process,TestService/getCityInfoTestJMS.process,TestService/getCityDistanceTest.process,
Design Time Library Migration (DTL)
Property Description
sharedModule

The default value of this property is false, and will migrate the DTL as an application module.

Set the property to true to create an TIBCO BusinessWorks Container Edition shared module.
Mapping DTLs to Shared Modules
Property Description
dtlDir Provide the project lib folder location here.

For example, C:/Users/workspace1/folder/BW5DTLLib.projlib.

sharedModuleDirs

You can provide multiple directory locations using comma separated values.

For example, C:/CLIWorkspace,C:/CLIWorkspace/SharedModuleProject1,....

Custom XPath Migration
Property Description
singleCXFGroupProject

By default, the property is set to true, to migrate all the custom XPath functions under a single custom XPath function group.

Set the property to false to migrate each custom XPath function and create custom XPath function groups for each individual XPath function.
thirdPartyCXFJarDir Provide the location of the third party JAR files that are referred by the custom XPath function.