Hi Sourabh,
this doesn't work, either, because it's not valid XML syntax. Trying to
use it results in an error message:
Element type "echo" must be followed by either attribute specifications,
">" or "/>".
Thanks
Peter
sourabh chaki schrieb:
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