Hi Peter,

Here message is a string of value "TEST = ${$var:test}" as it is quoted.
  <echo message="TEST = ${$var:test}"/>

Variable part should be unquoted.


Try this.


<xtras:assign var="test" value="dummy"/>
 <echo message="TEST = "+${$var:test}/>

Thanks
Sourabh


On Mon, Jan 3, 2011 at 4:28 PM, P.N. <peter.nabbef...@gmx.de> wrote:
>
> Hello!
>
> I've got a problem with variables in the following snippet:
>
>    <xtras:assign var="test" value="dummy"/>
>    <echo message="TEST = ${$var:test}"/>
>
> Results in:
>
>    [echo] TEST = ${$var:test}
>
> Seems, the reference to the variable is incorrect.
> Using antxtras_3.0.0b1-build1083.45 and ant-1.8.1.
>
> What's wrong???
>
> Kind regards
>
> Peter
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
> For additional commands, e-mail: user-h...@ant.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to