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
- Navigate to the ActiveMatrix BusinessWorks unit test
parent
project workspace and open the command prompt or Git Bash. -
To validate the ActiveMatrix BusinessWorks project, run the
bwdesignUtility
goal by passing thecommandName
argument with valuevalidate
in the following way:mvn com.tibco.plugins:bw6-maven-plugin:bwdesignUtility -DcommandName=validate
This validates the project.
-
To generate the process diagram for the project, enter the
bwdesignUtility
goal by passing thecommandName
argument with valuegen_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.
-
To generate the Manifest JSON file from the project whose deployment target is
TibcoCloud
, enter thebwdesignUtility
goal by passing thecommandName
argument with a valuegenerate_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. -
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 argumentcommandName
.mvn com.tibco.plugins:bw6-maven-plugin:bwdesignUtility