ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chuck.Irv...@mail.sprint.com
Subject help: problem with propertyfile task
Date Wed, 03 Oct 2001 14:46:43 GMT
I'm not able to get entry elements with default attributes of the 
optional propertyfile task to work correctly. For example, and entry 
element of:

<entry key="CICS_TRANSACTION_GATEWAY_PORT" default="2006"/>

produces a property file entry of:

CICS_TRANSACTION_GATEWAY_PORT=1  <--- expecting value of 2006 !?

My complete propertyfile task and resulting property file are attached 
below. Your help is greatly appreciated.

Chuck

************************* propertyfile task 
*************************************

<propertyfile
       file="${classes.home}/com/sprint/fms/constants.properties">
     <entry key="CICS_TRANSACTION_GATEWAY_HOST"
            type="string"
	    default="199.14.219.100"/>
     <entry key="CICS_TRANSACTION_GATEWAY_PORT" default="2006"/>
     <entry key="CICS_SERVER_NAME" default="DA131"/>
     <entry key="CICS_PROGRAM_NAME" default="FHXM0P"/>
     <entry key="GetCktWfmList_MESSAGE_ID" value="GET-CKT-WFM-LIST"/>
     <entry key="GetCktWfmList_COPYBOOK_PREFIX" value="FHXKC1"/>
     <entry key="GetCktWfmList_COPYBOOK_NAME" value="FMFHXKC1"/>
     <entry key="GetCktWfmList_XSTL_STYLESHEET"
            value="GetCktWfmListStylesheet.xml"/>
     <entry key="GetFRPhysAssign_MESSAGE_ID" value="GET-FR-PHYS-ASGN"/>
     <entry key="GetFRPhysAssign_COPYBOOK_NAME" value="FMFHXJC1"/>
     <entry key="GetFRPhysAssign_COPYBOOK_PREFIX" value="FHXJC1"/>
     <entry key="GetFRPhysAssign_XSTL_STYLESHEET"
            value="GetFRPhysAssignStylesheet.xml"/>
     <entry key="UpdFRPhysAssign_MESSAGE_ID" value="UPD-FR-PHYS-ASGN"/>
     <entry key="UpdFRPhysAssign_COPYBOOK_NAME" value="FMFHXJC1"/>
     <entry key="UpdFRPhysAssign_COPYBOOK_PREFIX" value="FHXJC1"/>
     <entry key="UpdFRPhysAssign_XSTL_STYLESHEET"
            value="UpdFRPhysAssignStylesheet.xml"/>
     <entry key="LogonToFms_MESSAGE_ID" value="LOGON-TO-FMS"/>
     <entry key="LogonToFms_COPYBOOK_PREFIX" value="COMM06"/>
     <entry key="GENERIC_COPYBOOK_PREFIX" value="COMM06"/>
     <entry key="GENERIC_COPYBOOK_NAME" value="FMCOMM06"/>
     <entry key="GENERIC_XSTL_STYLESHEET" 
value="GENERICStylesheet.xml"/>
   </propertyfile>

******************************** Generated property file 
****************************
#Tue Oct 02 21:03:42 CDT 2001
UpdFRPhysAssign_XSTL_STYLESHEET=UpdFRPhysAssignStylesheet.xml
GetCktWfmList_COPYBOOK_NAME=FMFHXKC1
CICS_TRANSACTION_GATEWAY_PORT=1
CICS_TRANSACTION_GATEWAY_HOST=1
GetCktWfmList_MESSAGE_ID=GET-CKT-WFM-LIST
UpdFRPhysAssign_MESSAGE_ID=UPD-FR-PHYS-ASGN
GetCktWfmList_COPYBOOK_PREFIX=FHXKC1
GetFRPhysAssign_COPYBOOK_PREFIX=FHXJC1
GetFRPhysAssign_COPYBOOK_NAME=FMFHXJC1
GENERIC_COPYBOOK_PREFIX=COMM06
GetCktWfmList_XSTL_STYLESHEET=GetCktWfmListStylesheet.xml
LogonToFms_MESSAGE_ID=LOGON-TO-FMS
LogonToFms_COPYBOOK_PREFIX=COMM06
GetFRPhysAssign_XSTL_STYLESHEET=GetFRPhysAssignStylesheet.xml
UpdFRPhysAssign_COPYBOOK_NAME=FMFHXJC1
GENERIC_XSTL_STYLESHEET=GENERICStylesheet.xml
GetFRPhysAssign_MESSAGE_ID=GET-FR-PHYS-ASGN
CICS_PROGRAM_NAME=1
GENERIC_COPYBOOK_NAME=FMCOMM06
UpdFRPhysAssign_COPYBOOK_PREFIX=FHXJC1
CICS_SERVER_NAME=1


Mime
View raw message