Users must exercise caution while executing the "set" target from 'substitution_variable_build.xml' via CLI

Users must exercise caution while executing the "set" target from 'substitution_variable_build.xml' via CLI

book

Article ID: KB0071255

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix Service Grid 3.3, 3.4

Description

When executing the "set" target from 'substitution_variable_build.xml' through the CLI, it updates the svars (substitution variables) specified in the 'substitution_variable_data.xml' file and deletes other svars that already exist in AMX Admin.

The "set" target from 'substitution_variable_build.xml' performs the following tasks:
  • Updates the existing svar with a new value specified in the 'substitution_variable_data.xml' in AMX Admin.
  • Add the new svar if it does not exist in AMX Admin and set it in theĀ 'substitution_variable_data.xml'.
  • Removes the svar from AMX Admin if it already exists but is not specified in 'substitution_variable_data.xml'.

Issue/Introduction

Users must exercise caution while executing the "set" target from 'substitution_variable_build.xml' via CLI, as it can remove existing svars from AMX Admin, and this action is not revertible. When executing the "set" target from 'substitution_variable_build.xml' through the CLI, it updates the svars (substitution variables) specified in the 'substitution_variable_data.xml' file and deletes other svars that already exist in AMX Admin.

Environment

All Supported Environments

Resolution

If a user wishes to edit an existing svar, please execute the "edit" target instead of the "set" target.

Additional Information

TAP-13015