Running ActiveMatrix BusinessWorks Design Utility Goal

The bwdesignUtility Maven goal provides a command-line interface to validate the ActiveMatrix BusinessWorks project and generate the process diagram.

Assuming that the user already has the ActiveMatrix BusinessWorks Unit Test Project with POM generated and includes a valid TIBCO_Home and BW_Home, follow these steps to run the bwdesignUtility goal:

    Procedure
  1. Navigate to the ActiveMatrix BusinessWorks unit test parent project workspace and open the command prompt or Git Bash.
  2. To validate the ActiveMatrix BusinessWorks project, run the bwdesignUtility goal by passing the commandName argument with value validate in the following way:

    mvn com.tibco.plugins:bw6-maven-plugin:bwdesignUtility -DcommandName=validate

    This validates the project.

  3. To generate the process diagram for the project, enter the bwdesignUtility goal by passing the commandName argument with value gen_diagrams in the following way:

    mvn com.tibco.plugins:bw6-maven-plugin:bwdesignUtility -DcommandName=gen_diagrams

    This generates a process diagram in the Resources folder of the ActiveMatrix BusinessWorks application project.

  4. To generate the Manifest JSON file from the project whose deployment target is TibcoCloud, enter the bwdesignUtility goal by passing the commandName argument with a value generate_manifest_json in the following way:

    mvn com.tibco.plugins:bw6-maven-plugin:bwdesignUtility -DcommandName=generate_manifest_json

    This generates the manifest JSON file in the ActiveMatrix BusinessWorks application project.

    Note: This goal is available from Maven Plug-in version 2.8.1 onwards.
  5. To validate the ActiveMatrix BusinessWorks project, generate the process diagram and the manifest JSON file for the project sequentially, run the bwdesignUtility command without passing an argument commandName.

    mvn com.tibco.plugins:bw6-maven-plugin:bwdesignUtility