IOS Configuration Update Tool

The IOS Configuration Update Tool automates the updating of the properties and values inside the iosconfig.xml file.

Syntax

java -jar iosmerge.jar --xpath <slashSeparatedPath> --find <keyField>=<fieldValue> --update <updateField>=<newFieldValue>

Example:

java -jar iosmerge.jar --xpath parameter --find name=ioswebrootdir --update name=ioswebrootdirv2

Shorthand version:

java -jar iosmerge.jar -x <slashSeparatedPath> -f <keyField>=<fieldValue> -u <updateField>=<newFieldValue>

Example:

java -jar iosmerge.jar -x parameter -f name=ioswebrootdir -u name=ioswebrootdirv2

Where:

slashSeparatedPath

The XML tag names, separated by forward slash.

To be used to find the XML tag to update, for example, broker/agent.

keyField The name of the field or attribute to be used to find the XML tag to update. For example, class.
fieldValue The value of the field or attribute to find. For example, com.lawson.ios.drill.ErpDrillAgent
updateField The name of the field or attribute to be updated.
newFieldValue The new value for the field or attribute

Usage

Description Command
Show usage

java -jar iosmerge.jar -h

java -jar iosmerge.jar --help

Show tool version

java -jar iosmerge.jar -v

java -jar iosmerge.jar --version

Backup iosconfig.xml

java -jar iosmerge.jar -b

java -jar iosmerge.jar --backup

Update Parameter Name java -jar iosmerge.jar --xpath parameter --find name=<parameterName> --update name=<newParameterName>
Update Parameter Value java -jar iosmerge.jar --xpath parameter --find name=<parameterName> --update value=<newParameterValue>
Update Broker Class java -jar iosmerge.jar --xpath broker --find class=<className> --update class=<newClassName>
Update Broker Service java -jar iosmerge.jar --xpath broker --find class=<className> --update service=<newServiceName>
Update Broker Agent Class java -jar iosmerge.jar --xpath broker/agent --find class=<className> --update class=<newClassName>
Update Broker Agent System java -jar iosmerge.jar --xpath broker/agent --find class=<className> --update system=<newSystemName>

Update LanguageMap

Mapping: lsflang

java -jar iosmerge.jar --xpath languagemap/mapping --find lsflang=<value> --update lsflang=<newValue>

Update LanguageMap

Mapping: portallang

java -jar iosmerge.jar --xpath languagemap/mapping --find portallang=<value> --update portallang=<newValue>