ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Reilly" <>
Subject Re: how to echo propertyset to file?
Date Thu, 05 Jun 2008 09:53:05 GMT
On Mon, Jun 2, 2008 at 7:04 PM, Gilbert Rebhan <> wrote:
> Hi, David
> David Weintraub schrieb:
>> Just curious... Where is the ${tostring:} function and other types of
This should be toString - it is case sensitive
>> functions documented in Ant
There are currently no other functions in ant.
> Once i've read here on the list about it and from that
> on i've used it all the time.
> It's not documented in the manuals, but well known
> among experienced ant users.

It is documented in using.html and resources.html

> The $[toString:nameOfID} syntax seems to be 'valid' with the most
> id / refid stuff, though i remember it didn't work with
> one special thing, but don't remember in detail.
> Means it works in my daily stuff with filesets, propertysets ...
> that's when i use it combined with antcontrib <for> or <script>
> As far as i know it's also mentioned in the 2nd Edition
> of 'Ant In Action' by Steve Loughran.
> Maybe the book has more details about ?!
>> It would be nice to see a list of all such functions.
> If you have a task with id/refid simply try and you'll see
> if it works, that's what i'd do.
> btw. if you are fan of such shorthand expressions (as i am)
> take a look at AntXtras,they have something they call valueuris
> maybe something similar is coming up with ant 1.8. see

Yes there are plans, at least to allow plugins to define the
namespaceie functions.


> Regards, Gilbert
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

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

View raw message