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


Chapter 7 Building and Deploying EAR Files at the Command Line : Overriding Global Variables at Command-line Startup

Overriding Global Variables at Command-line Startup
You can use the following methods to override a project’s global variable values when you start an engine at the command line.
Global Variable Groups  If global variables are defined in the TIBCO BusinessEvents project using groups, specify the group path using forward slashes. For example, if a variable JMSuri is located under a group called URIs, specify the variable as tibco.clientVar.URIs/JMSuri.
Using Property Files
In the TRA file referenced by the --propFile or -p properties, add one or more properties whose name is the global variable name prefixed with tibco.clientVar.
Using a Property at the Command Line
When you use the --propVar option, use one of the following methods to override global variables.
   tibco.clientVar.myGv=%myValue%
And on the command line include the following:
   --propVar myValue=ValueHere
   --propVar tibco.clientVar.myGv=ValueHere

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