On Mon, Jun 2, 2008 at 7:04 PM, Gilbert Rebhan <[EMAIL PROTECTED]> 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 > 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 Yes there are plans, at least to allow plugins to define the namespaceie functions. Peter > > Regards, Gilbert > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]