ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rebhan, Gilbert" <>
Subject RE: how to echo propertyset to file?
Date Mon, 02 Jun 2008 14:36:09 GMT

-----Original Message-----
From: David Weintraub [] 
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_"/>

<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>


Might not work with all id / refid, but that would always
be my first attempt.

Regards, Gilbert

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

View raw message