How to instruct the Command Line Interface dataFile to take values from the properties file.

How to instruct the Command Line Interface dataFile to take values from the properties file.

book

Article ID: KB0087773

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix Service Grid -
Not Applicable -

Description

Description:
We are trying to automate our deployment process using an ant script. Three files are generated,  (build.xml, config.xml and remote.properties) using Business Studio. The dataFile (config.xml) contains editable properties which we want to change for deployment in different environments. Is it possible to reference dataFile to take its properties value from another property file instead of directly editing the config.xml file for each application being deployed?

Issue/Introduction

How to instruct the Command Line Interface dataFile to take values from the properties file.

Resolution

For TIBCO ActiveMatrix ("AMX") 3.1.x, it is possible to parameterize property values in the Command Line Interface ("CLI") dataFile. Refer to the attached sample (Filename:  mediation.helloworld.log.soa.zip) for details. For AMX 3.2.x and onwards, it is supported out of box while running the CLI generation wizard.

Additional Information

Attachments:
===========
mediation.helloworld.log.soa.zip

Attachments

How to instruct the Command Line Interface dataFile to take values from the properties file. get_app