ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Thomas <>
Subject RE: nested property name
Date Tue, 25 Mar 2003 17:05:13 GMT
change this to

<echo message="${timeoutSeconds}.${level}"/>

-----Original Message-----
From: Klara Ward []
Sent: 25 March 2003 17:04
To: Ant Users List
Subject: nested property name

Is there a reason why:
      <property file="${specjbbScriptsHome}/"/>
      <echo message="${timeoutSeconds.${level}}"/>
doesn't work?
this code:
      <property file="${specjbbScriptsHome}/"/>
      <echo message="${timeoutSeconds.${level}}"/>
      <echo message="${timeoutSeconds.sanity}"/>
      <echo message="${level}"/>
      <echo message="${timeoutProperty}"/>
and the contents in

gets this result:
     [echo] ${timeoutSeconds.${level}}
     [echo] 10
     [echo] sanity
     [echo] timeoutSeconds.sanity

The ugly workaround is some sort if condition construction, but I don't 
want that....


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

View raw message