You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "P.N." <pe...@gmx.de> on 2011/01/05 08:05:40 UTC
[antxtras] Command piping works only sometimes
Hello!
Tried this:
<xtras:assign var="test1"
value="${$basename:${current.file}|$basename:?.dat}"
scope="project"/>
<xtras:assign var="test2"
value="${$shorten:${test1}?1}"
scope="project"/>
Assignment "test1" works, "test2" does not - why?
Kind regards
Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: [antxtras] Command piping works only sometimes
Posted by "P.N." <pe...@gmx.de>.
After looking for a solution some hours yesterday, I've found the
solution today within some minutes: Just had to use a reference.
Regards
Peter
P.N. schrieb:
>
> Hello!
>
> Tried this:
>
> <xtras:assign var="test1"
> value="${$basename:${current.file}|$basename:?.dat}"
> scope="project"/>
> <xtras:assign var="test2"
> value="${$shorten:${test1}?1}"
> scope="project"/>
>
> Assignment "test1" works, "test2" does not - why?
>
> Kind regards
>
> Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org