ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Stewart" <>
Subject Concatenating a string to a property
Date Fri, 16 Mar 2007 15:56:02 GMT

I am trying to get a value from a property that is defined in the file - 


The remote.jboss.server varies depending on which client is being
built, I tried the definition below but it is performing text

<property name="port.number"
value="remote.jboss.jndi.port.${remote.jboss.server}" />
<echo message="the port number is ${port.number}        
${remote.jboss.jndi.port.server1}" />

When run via Ant the output is 

the port number is remote.jboss.jndi.port.b4usony         17031

Any ideas on how to get the value?

Mike S.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message