Search code examples
javaanttibcotibco-business-workstibco-designer

Error Failed to open properties file : AppManage.tra from Ant script


After building EAR file when i'm trying to extract XML file form the EAR i'm getting error [exec] Failed to open properties file : AppManage.tra

 <property name="Appmanage" value="C:\tibco\etascbw513\tra\5.10\bin\AppManage.exe" />

<target name="extract">
<exec executable="${Appmanage}">
  <arg value="-export"/>
  <arg value="-ear"/>
  <arg value="${workdir}\Deploy\EARs\${project}.ear"/>
  <arg value="-out"/>
 <arg value="${workdir}\Deploy\EARs\${project}.xml"/>
  <arg value="-max"/>
</exec>


old Q : can someone share simple build.xml to create ear file from ant script details : i'm able to pull repositories with the help ant script now i want to create EAR file from ant script for Tibco BW. can any one share simple demo .


Solution

  • try to solve this error using below steps.

    1. try to check your environment variable path.
    2. check TRA_HOME/bin/ using App manage utility.