Error: "C:\tibco\tibco\cfgmgmt\hawk\staging\plugin\amx\build.xml:181: Reference amf.hpa.client.ant.path not found." during running autoconfiguret when building Hawk for the AMX environment.

Error: "C:\tibco\tibco\cfgmgmt\hawk\staging\plugin\amx\build.xml:181: Reference amf.hpa.client.ant.path not found." during running autoconfiguret when building Hawk for the AMX environment.

book

Article ID: KB0090759

calendar_today

Updated On:

Products Versions
TIBCO Hawk -
Not Applicable -

Description

Resolution:
Description:
========
When building Hawk 4.9.0 with HKAM 1.2 for the AMX 3.2.x environment, we need to run autoconfigure.bat. With the installed hotfix, the ant returns the following error message:
BUILD FAILED
C:\tibco\hkam\1.2\samples\rulebases\autoconfigure-amx-hrb.xml:84: The following error occurred while executing this line:
C:\tibco\tibco\cfgmgmt\hawk\staging\plugin\amx\build.xml:181: Reference amf.hpa.client.ant.path not found.

Cause:
=====
antpackage.jar compatibility issue. After installing the hotfix, the new version of antpackage.jar replaces the old one.


ant version info:

The version of HKAM bundled antpackage.jar: Ant-Version: Apache Ant 1.7.1
The version of AMX bundled antpackage.jar: Ant-Version: Apache Ant 1.8.4

Resolution:
==========
After making a backup, replace the antpackage.jar under <tibco>/tools/lib with the one bundled with the HKAM installation. Restore the orignial antpackage.jar back after running autoconfigure.bat.

Issue/Introduction

Error: "C:\tibco\tibco\cfgmgmt\hawk\staging\plugin\amx\build.xml:181: Reference amf.hpa.client.ant.path not found." during running autoconfiguret when building Hawk for the AMX environment.

Attachments

Error: "C:\tibco\tibco\cfgmgmt\hawk\staging\plugin\amx\build.xml:181: Reference amf.hpa.client.ant.path not found." during running autoconfiguret when building Hawk for the AMX environment. get_app