ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilbert Rebhan <...@schillbaer.de>
Subject Re: how to echo propertyset to file?
Date Mon, 02 Jun 2008 18:04:47 GMT
Hi, David

David Weintraub schrieb:
> Just curious... Where is the ${tostring:} function and other types of
> functions documented 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.

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
http://antxtras.sourceforge.net/AntXtras/overview.html#valueuris

maybe something similar is coming up with ant 1.8. see
http://marc.info/?l=ant-user&m=118288301701425&w=2

Regards, Gilbert



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


Mime
View raw message