Troubleshooting
Problem
Updated locations.ycfg file not being picked up
Symptom
If the updated locations.ycfg file is placed in the RCP_EXTN_FOLDER/resources folder, and a COM client is built, the locations displayed on the login screen are not the updated locations. The resources.jar inside the newly built COM client contains the updated locations.ycfg file but the options displayed on the login screen are from the plugins\com.yantra.yfc.rcp_1.0.0\locations.ycfg file. How can the out of box options in this file be overridden?
Resolving The Problem
com.yantra.yfc.rcp_1.0.0 plugin folder is copied from
INSTALL_DIR/rcpclient folder to plugins folder under COM client folder. There
is no locations.ycfg file in INSTALL_DIR/rcpclient/com.yantra.yfc.rcp_1.0.0
plugin folder; instead locations.ycfg.sample file is present in this folder.
Build script copies plugin folders from INSTALL_DIR/rcpclient folder and
also picks up locations.ycfg file from RCP_EXTN/resources folder and put it
inside resources.jar. In this case locations.ycfg file is present inside
resources.jar only and COM will pick this up to decide
locations.
If locations.ycfg file is present in INSTALL_DIR/rcpclient/com.yantra.yfc.rcp_1.0.0 plugin folder then this file is given precedence over the one present in the resources folder. Hence if the locations.ycfg file from the resources jar should be picked up, then rename the file present in the above mentioned directory to locations.ycfg.sample and keep locations.ycfg file in RCP_EXTN_FOLDER /resources folder.
Historical Number
NFX7508
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21558886