Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 37 Deployable Files Generation and Deployment for WebStudio : Generating Deployable Files (EAR and Class Files)

Generating Deployable Files (EAR and Class Files)
Deployable files are generated using the TIBCO BusinessEvents Studio project files, located in the RMS project’s folder.
The deployable files are of two types: EAR files and class files.
EAR files are generated in Decision Manager and TIBCO BusinessEvents WebStudio UI.
You can generate class files using the Decision Manager and TIBCO BusinessEvents WebStudio UI, or at the command line. You can generate an entire project’s class files, or one decision table’s class file, or one business rule’s rule template instance file. If you generate an entire project’s class files, a property in the CDD file enables you to exclude unwanted packages.
Location of Generated Files
Location of generated files can be configured using deploy location properties in the RMS.cdd file. See RMS Server Configuration Property Reference for more details on deploy location properties. Below are the location of generated files as per the preconfigured location in the shipped product.
BE_HOME\rms\shared\CreditCardApplication
Project’s class files are saved in the codegen subdirectory under the RMS project directory in the RMS’s shared directory. For example, class files for CreditCardApplication project (CreditCardApplication.ear) are stored at
BE_HOME\rms\shared\CreditCardApplicatio\codegen
Generating the Project EAR or All Project Class Files
You can generate deployable EAR files only if you have permission to check out all the required project resources (ACLs may limit what you can check out).
To Generate the Project EAR or All Project Class Files in WebStudio
1.
Click WebStudio, with the down pointing triangle in front of it, and select RMS > Generate Deployables.
Right-click on any artifact and select RMS > Generate Deployables.
The Generate Deployables window is displayed.
2.
To generate class files, check the Generate Classes Only checkbox.
To generate EAR files, do not check the Generate Classes Only checkbox.
3.
4.
5.
6.
Click OK.
Files are saved to the preconfigured location (see Location of Generated Files). Any existing files are overwritten.
Generating One Decision Table’s Class File
In TIBCO BusinessEvents WebStudio, the BuildAndDeploy status menu option in the Worklist window generates the class file for just selected decision tables. You can generate a decision table’s class file only after it is approved. See Checking a Worklist and Taking Action on how to approve a commit request.
To Generate One Decision Table Class File
1.
Click WebStudio, with the down pointing triangle in front of it, and select RMS > Show Worklist.
The worklist window displays all the requests submitted for approval as well approved requests.
2.
3.
To generate classes for the decision table, click on the Approved status under the Status column, and select BuildAndDeploy from the status drop-down menu. The project EAR must already be created.
A message field displays error messages in the event of a problem.
4.
Generating One Business Rule’s Rule Template Instance File
In TIBCO BusinessEvents WebStudio, the BuildAndDeploy status menu option in the Worklist window generates the rule template instance file for just selected business rules. You can generate a business rule’s rule template instance file only after it is approved. See Checking a Worklist and Taking Action on how to approve a commited request.
To Generate One Rule Template Instance File
1.
Click WebStudio, with the down pointing triangle in front of it, and select RMS > Show Worklist.
Click the Show Worklist icon in the RMS toolbar.
The worklist window displays all the requests submitted for approval as well approved requests.
2.
3.
To generate rule template instance file for the business rule, click on the Approved status under the Status column, and select BuildAndDeploy from the status drop-down menu.
A message field displays error messages in the event of a problem.
4.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved