Just curious... Where is the ${tostring:} function and other types of functions documented in Ant?
It would be nice to see a list of all such functions. On Mon, Jun 2, 2008 at 10:36 AM, Rebhan, Gilbert <[EMAIL PROTECTED]> wrote: > > > -----Original Message----- > From: David Weintraub [mailto:[EMAIL PROTECTED] > Sent: Monday, June 02, 2008 4:13 PM > To: Ant Users List > Subject: Re: how to echo propertyset to file? > > /* > The easiest way to turn a resource ID into something that can be > echoed is to set a property via a resource ID: > > <propertyset id="midlet_properties"> > <propertyref prefix="MIDlet_"/> > </propertyset> > > <property name="midlet_property_set" refid="midlet_properties"/> > <echo>Property Set: ${midlet_property_set}</echo> > */ > > the easiest way, without setting another property = > ${toString:midlet_properties} which gives the same result, a comma > separated list > > /* > <echo>Property = "${foo_prop}"</echo> > */ > > <echo>Property="{toString:midlet_properties}"</echo> > > Might not work with all id / refid, but that would always > be my first attempt. > > Regards, Gilbert > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- -- David Weintraub [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]