       <target name="update.serverindex.xml">
       
        <antcall target="replaceRegExpAllInstancesOfGivenTokenWithGivenValueForTheGivenFile">
        		<param name="port" value="BOOTSTRAP_ADDRESS"/>
        		<param name="portValue" value="${BOOTSTRAP_ADDRESS}"/>
			<param name="file" value="${file}"/>
			<param name="token" value="&quot;BOOTSTRAP_ADDRESS&quot;>(.*)(&#10;?+)(.*)port=&quot;(.*)&quot;"/>
			<param name="tokenValue" value="&quot;BOOTSTRAP_ADDRESS&quot;>\1\2\3port=&quot;${BOOTSTRAP_ADDRESS}&quot;"/>
		</antcall>
	<antcall target="replaceRegExpAllInstancesOfGivenTokenWithGivenValueForTheGivenFile">
        		<param name="port" value="SOAP_CONNECTOR_ADDRESS"/>
        		<param name="portValue" value="${SOAP_CONNECTOR_ADDRESS}"/>
			<param name="file" value="${file}"/>
			<param name="token" value="&quot;SOAP_CONNECTOR_ADDRESS&quot;>(.*)(&#10;?+)(.*)port=&quot;(.*)&quot;"/>
			<param name="tokenValue" value="&quot;SOAP_CONNECTOR_ADDRESS&quot;>\1\2\3port=&quot;${SOAP_CONNECTOR_ADDRESS}&quot;"/>
		</antcall>
        <antcall target="replaceRegExpAllInstancesOfGivenTokenWithGivenValueForTheGivenFile">
        		<param name="port" value="IPC_CONNECTOR_ADDRESS"/>
        		<param name="portValue" value="${IPC_CONNECTOR_ADDRESS}"/>
			<param name="file" value="${file}"/>
			<param name="token" value="&quot;IPC_CONNECTOR_ADDRESS&quot;>(.*)(&#10;?+)(.*)port=&quot;(.*)&quot;"/>
			<param name="tokenValue" value="&quot;IPC_CONNECTOR_ADDRESS&quot;>\1\2\3port=&quot;${IPC_CONNECTOR_ADDRESS}&quot;"/>
		</antcall>		
        <antcall target="replaceRegExpAllInstancesOfGivenTokenWithGivenValueForTheGivenFile">
        		<param name="port" value="SIB_ENDPOINT_ADDRESS"/>        		
        		<param name="portValue" value="${SIB_ENDPOINT_ADDRESS}"/>
			<param name="file" value="${file}"/>
			<param name="token" value="&quot;SIB_ENDPOINT_ADDRESS&quot;>(.*)(&#10;?+)(.*)port=&quot;(.*)&quot;"/>
			<param name="tokenValue" value="&quot;SIB_ENDPOINT_ADDRESS&quot;>\1\2\3port=&quot;${SIB_ENDPOINT_ADDRESS}&quot;"/>
		</antcall>
        <antcall target="replaceRegExpAllInstancesOfGivenTokenWithGivenValueForTheGivenFile">
        		<param name="port" value="SIB_ENDPOINT_SECURE_ADDRESS"/>        		
        		<param name="portValue" value="${SIB_ENDPOINT_SECURE_ADDRESS}"/>
			<param name="file" value="${file}"/>
			<param name="token" value="&quot;SIB_ENDPOINT_SECURE_ADDRESS&quot;>(.*)(&#10;?+)(.*)port=&quot;(.*)&quot;"/>
			<param name="tokenValue" value="&quot;SIB_ENDPOINT_SECURE_ADDRESS&quot;>\1\2\3port=&quot;${SIB_ENDPOINT_SECURE_ADDRESS}&quot;"/>
		</antcall>
        <antcall target="replaceRegExpAllInstancesOfGivenTokenWithGivenValueForTheGivenFile">
        		<param name="port" value="SIB_MQ_ENDPOINT_ADDRESS"/>        		
        		<param name="portValue" value="${SIB_MQ_ENDPOINT_ADDRESS}"/>
			<param name="file" value="${file}"/>
			<param name="token" value="&quot;SIB_MQ_ENDPOINT_ADDRESS&quot;>(.*)(&#10;?+)(.*)port=&quot;(.*)&quot;"/>
			<param name="tokenValue" value="&quot;SIB_MQ_ENDPOINT_ADDRESS&quot;>\1\2\3port=&quot;${SIB_MQ_ENDPOINT_ADDRESS}&quot;"/>
		</antcall>
        <antcall target="replaceRegExpAllInstancesOfGivenTokenWithGivenValueForTheGivenFile">
        		<param name="port" value="SIB_MQ_ENDPOINT_SECURE_ADDRESS"/>        		
        		<param name="portValue" value="${SIB_MQ_ENDPOINT_SECURE_ADDRESS}"/>
			<param name="file" value="${file}"/>
			<param name="token" value="&quot;SIB_MQ_ENDPOINT_SECURE_ADDRESS&quot;>(.*)(&#10;?+)(.*)port=&quot;(.*)&quot;"/>
			<param name="tokenValue" value="&quot;SIB_MQ_ENDPOINT_SECURE_ADDRESS&quot;>\1\2\3port=&quot;${SIB_MQ_ENDPOINT_SECURE_ADDRESS}&quot;"/>
		</antcall>
        <antcall target="replaceRegExpAllInstancesOfGivenTokenWithGivenValueForTheGivenFile">
        		<param name="port" value="SAS_SSL_SERVERAUTH_LISTENER_ADDRESS"/>        		
        		<param name="portValue" value="${SAS_SSL_SERVERAUTH_LISTENER_ADDRESS}"/>
			<param name="file" value="${file}"/>
			<param name="token" value="&quot;SAS_SSL_SERVERAUTH_LISTENER_ADDRESS&quot;>(.*)(&#10;?+)(.*)port=&quot;(.*)&quot;"/>
			<param name="tokenValue" value="&quot;SAS_SSL_SERVERAUTH_LISTENER_ADDRESS&quot;>\1\2\3port=&quot;${SAS_SSL_SERVERAUTH_LISTENER_ADDRESS}&quot;"/>
		</antcall>
        <antcall target="replaceRegExpAllInstancesOfGivenTokenWithGivenValueForTheGivenFile">
        		<param name="port" value="CSIV2_SSL_SERVERAUTH_LISTENER_ADDRESS"/>       		
        		<param name="portValue" value="${CSIV2_SSL_SERVERAUTH_LISTENER_ADDRESS}"/>
			<param name="file" value="${file}"/>
			<param name="token" value="&quot;CSIV2_SSL_SERVERAUTH_LISTENER_ADDRESS&quot;>(.*)(&#10;?+)(.*)port=&quot;(.*)&quot;"/>
			<param name="tokenValue" value="&quot;CSIV2_SSL_SERVERAUTH_LISTENER_ADDRESS&quot;>\1\2\3port=&quot;${CSIV2_SSL_SERVERAUTH_LISTENER_ADDRESS}&quot;"/>
		</antcall>		
        <antcall target="replaceRegExpAllInstancesOfGivenTokenWithGivenValueForTheGivenFile">
        		<param name="port" value="CSIV2_SSL_MUTUALAUTH_LISTENER_ADDRESS"/>   		
        		<param name="portValue" value="${CSIV2_SSL_MUTUALAUTH_LISTENER_ADDRESS}"/>
			<param name="file" value="${file}"/>
			<param name="token" value="&quot;CSIV2_SSL_MUTUALAUTH_LISTENER_ADDRESS&quot;>(.*)(&#10;?+)(.*)port=&quot;(.*)&quot;"/>
			<param name="tokenValue" value="&quot;CSIV2_SSL_MUTUALAUTH_LISTENER_ADDRESS&quot;>\1\2\3port=&quot;${CSIV2_SSL_MUTUALAUTH_LISTENER_ADDRESS}&quot;"/>
		</antcall>		
        <antcall target="replaceRegExpAllInstancesOfGivenTokenWithGivenValueForTheGivenFile">
        		<param name="port" value="WC_adminhost"/>		
        		<param name="portValue" value="${WC_adminhost}"/>
			<param name="file" value="${file}"/>
			<param name="token" value="&quot;WC_adminhost&quot;>(.*)(&#10;?+)(.*)port=&quot;(.*)&quot;"/>
			<param name="tokenValue" value="&quot;WC_adminhost&quot;>\1\2\3port=&quot;${WC_adminhost}&quot;"/>
		</antcall>		
        <antcall target="replaceRegExpAllInstancesOfGivenTokenWithGivenValueForTheGivenFile">
        		<param name="port" value="WC_defaulthost"/>	
        		<param name="portValue" value="${WC_defaulthost}"/>
			<param name="file" value="${file}"/>
			<param name="token" value="&quot;WC_defaulthost&quot;>(.*)(&#10;?+)(.*)port=&quot;(.*)&quot;"/>
			<param name="tokenValue" value="&quot;WC_defaulthost&quot;>\1\2\3port=&quot;${WC_defaulthost}&quot;"/>
		</antcall>		
        <antcall target="replaceRegExpAllInstancesOfGivenTokenWithGivenValueForTheGivenFile">
        		<param name="port" value="DCS_UNICAST_ADDRESS"/>
        		<param name="portValue" value="${DCS_UNICAST_ADDRESS}"/>
			<param name="file" value="${file}"/>
			<param name="token" value="&quot;DCS_UNICAST_ADDRESS&quot;>(.*)(&#10;?+)(.*)port=&quot;(.*)&quot;"/>
			<param name="tokenValue" value="&quot;DCS_UNICAST_ADDRESS&quot;>\1\2\3port=&quot;${DCS_UNICAST_ADDRESS}&quot;"/>
		</antcall>	
        <antcall target="replaceRegExpAllInstancesOfGivenTokenWithGivenValueForTheGivenFile">
        		<param name="port" value="WC_adminhost_secure"/>
        		<param name="portValue" value="${WC_adminhost_secure}"/>
			<param name="file" value="${file}"/>
			<param name="token" value="&quot;WC_adminhost_secure&quot;>(.*)(&#10;?+)(.*)port=&quot;(.*)&quot;"/>
			<param name="tokenValue" value="&quot;WC_adminhost_secure&quot;>\1\2\3port=&quot;${WC_adminhost_secure}&quot;"/>
		</antcall>	
		
        <antcall target="replaceRegExpAllInstancesOfGivenTokenWithGivenValueForTheGivenFile">
        		<param name="port" value="WC_defaulthost_secure"/>
        		<param name="portValue" value="${WC_defaulthost_secure}"/>
			<param name="file" value="${file}"/>
			<param name="token" value="&quot;WC_defaulthost_secure&quot;>(.*)(&#10;?+)(.*)port=&quot;(.*)&quot;"/>
			<param name="tokenValue" value="&quot;WC_defaulthost_secure&quot;>\1\2\3port=&quot;${WC_defaulthost_secure}&quot;"/>
		</antcall>	
		
        <antcall target="replaceRegExpAllInstancesOfGivenTokenWithGivenValueForTheGivenFile">
        		<param name="port" value="ORB_LISTENER_ADDRESS"/>
        		<param name="portValue" value="${ORB_LISTENER_ADDRESS}"/>
			<param name="file" value="${file}"/>
			<param name="token" value="&quot;ORB_LISTENER_ADDRESS&quot;>(.*)(&#10;?+)(.*)port=&quot;(.*)&quot;"/>
			<param name="tokenValue" value="&quot;ORB_LISTENER_ADDRESS&quot;>\1\2\3port=&quot;${ORB_LISTENER_ADDRESS}&quot;"/>
		</antcall>

         <antcall target="replaceRegExpAllInstancesOfGivenTokenWithGivenValueForTheGivenFile">
        		<param name="port" value="ORB_SSL_LISTENER_ADDRESS"/>
        		<param name="portValue" value="${ORB_SSL_LISTENER_ADDRESS}"/>
			<param name="file" value="${file}"/>
			<param name="token" value="&quot;ORB_SSL_LISTENER_ADDRESS&quot;>(.*)(&#10;?+)(.*)port=&quot;(.*)&quot;"/>
			<param name="tokenValue" value="&quot;ORB_SSL_LISTENER_ADDRESS&quot;>\1\2\3port=&quot;${ORB_SSL_LISTENER_ADDRESS}&quot;"/>
		</antcall>	
		
        <antcall target="replaceRegExpAllInstancesOfGivenTokenWithGivenValueForTheGivenFile">
        		<param name="port" value="CELL_DISCOVERY_ADDRESS"/>
        		<param name="portValue" value="${CELL_DISCOVERY_ADDRESS}"/>
			<param name="file" value="${file}"/>
			<param name="token" value="&quot;CELL_DISCOVERY_ADDRESS&quot;>(.*)(&#10;?+)(.*)port=&quot;(.*)&quot;"/>
			<param name="tokenValue" value="&quot;CELL_DISCOVERY_ADDRESS&quot;>\1\2\3port=&quot;${CELL_DISCOVERY_ADDRESS}&quot;"/>
		</antcall>	
		
        <antcall target="replaceRegExpAllInstancesOfGivenTokenWithGivenValueForTheGivenFile">
        		<param name="port" value="SIP_DEFAULTHOST"/>
        		<param name="portValue" value="${SIP_DEFAULTHOST}"/>
			<param name="file" value="${file}"/>
			<param name="token" value="&quot;SIP_DEFAULTHOST&quot;>(.*)(&#10;?+)(.*)port=&quot;(.*)&quot;"/>
			<param name="tokenValue" value="&quot;SIP_DEFAULTHOST&quot;>\1\2\3port=&quot;${SIP_DEFAULTHOST}&quot;"/>
		</antcall>	
		
        <antcall target="replaceRegExpAllInstancesOfGivenTokenWithGivenValueForTheGivenFile">
        		<param name="port" value="SIP_DEFAULTHOST_SECURE"/>
        		<param name="portValue" value="${SIP_DEFAULTHOST_SECURE}"/>
			<param name="file" value="${file}"/>
			<param name="token" value="&quot;SIP_DEFAULTHOST_SECURE&quot;>(.*)(&#10;?+)(.*)port=&quot;(.*)&quot;"/>
			<param name="tokenValue" value="&quot;SIP_DEFAULTHOST_SECURE&quot;>\1\2\3port=&quot;${SIP_DEFAULTHOST_SECURE}&quot;"/>
		</antcall>
		
        <antcall target="replaceRegExpAllInstancesOfGivenTokenWithGivenValueForTheGivenFile">
        		<param name="port" value="DataPowerMgr_inbound_secure"/>
        		<param name="portValue" value="${DataPowerMgr_inbound_secure}"/>
			<param name="file" value="${file}"/>
			<param name="token" value="&quot;DataPowerMgr_inbound_secure&quot;>(.*)(&#10;?+)(.*)port=&quot;(.*)&quot;"/>
			<param name="tokenValue" value="&quot;DataPowerMgr_inbound_secure&quot;>\1\2\3port=&quot;${DataPowerMgr_inbound_secure}&quot;"/>
		</antcall>

        <antcall target="replaceRegExpAllInstancesOfGivenTokenWithGivenValueForTheGivenFile">
        		<param name="port" value="OVERLAY_UDP_LISTENER_ADDRESS"/>
        		<param name="portValue" value="${OVERLAY_UDP_LISTENER_ADDRESS}"/>
			<param name="file" value="${file}"/>
			<param name="token" value="&quot;OVERLAY_UDP_LISTENER_ADDRESS&quot;>(.*)(&#10;?+)(.*)port=&quot;(.*)&quot;"/>
			<param name="tokenValue" value="&quot;OVERLAY_UDP_LISTENER_ADDRESS&quot;>\1\2\3port=&quot;${OVERLAY_UDP_LISTENER_ADDRESS}&quot;"/>
		</antcall>

        <antcall target="replaceRegExpAllInstancesOfGivenTokenWithGivenValueForTheGivenFile">
        		<param name="port" value="OVERLAY_TCP_LISTENER_ADDRESS"/>
        		<param name="portValue" value="${OVERLAY_TCP_LISTENER_ADDRESS}"/>
			<param name="file" value="${file}"/>
			<param name="token" value="&quot;OVERLAY_TCP_LISTENER_ADDRESS&quot;>(.*)(&#10;?+)(.*)port=&quot;(.*)&quot;"/>
			<param name="tokenValue" value="&quot;OVERLAY_TCP_LISTENER_ADDRESS&quot;>\1\2\3port=&quot;${OVERLAY_TCP_LISTENER_ADDRESS}&quot;"/>
		</antcall>

        <antcall target="replaceRegExpAllInstancesOfGivenTokenWithGivenValueForTheGivenFile">
        		<param name="port" value="XDAGENT_PORT"/>
        		<param name="portValue" value="${XDAGENT_PORT}"/>
			<param name="file" value="${file}"/>
			<param name="token" value="&quot;XDAGENT_PORT&quot;>(.*)(&#10;?+)(.*)port=&quot;(.*)&quot;"/>
			<param name="tokenValue" value="&quot;XDAGENT_PORT&quot;>\1\2\3port=&quot;${XDAGENT_PORT}&quot;"/>
		</antcall>

        <antcall target="replaceRegExpAllInstancesOfGivenTokenWithGivenValueForTheGivenFile">
        		<param name="port" value="STATUS_LISTENER_ADDRESS"/>
        		<param name="portValue" value="${STATUS_LISTENER_ADDRESS}"/>
			<param name="file" value="${file}"/>
			<param name="token" value="&quot;STATUS_LISTENER_ADDRESS&quot;>(.*)(&#10;?+)(.*)port=&quot;(.*)&quot;"/>
			<param name="tokenValue" value="&quot;STATUS_LISTENER_ADDRESS&quot;>\1\2\3port=&quot;${STATUS_LISTENER_ADDRESS}&quot;"/>
		</antcall>


						
    </target>
