ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <hind.lwahh...@accenture.com>
Subject RE: wild card in project.getProperty()
Date Wed, 06 Jul 2005 07:16:55 GMT

Thanks for all the replies.
finally i did it with a <propertyset> and its nested  <propertyref prefix="foo"/>
and used project.getReference("properties-starting-with-foo") in my script.
Anyway it helps to post questions here, it always give me new ideas of implementations.
Thanks guys!

-----Original Message-----
From: Juergen Hermann [mailto:jh@web.de]
Sent: Tue 7/5/2005 10:02 PM
To: Ant Users List; Dick, Brian E.
Subject: RE: wild card in project.getProperty()
 
On Tue, 5 Jul 2005 08:52:11 -0400, Dick, Brian E. wrote:

<echoproperties prefix= destfile=> in Ant optional tasks. perfect for a 
filter file, or loading them into another build script.

>PropertySelector in ant-contrib

>-----Original Message-----
>From: hind.lwahhabi@accenture.com [mailto:hind.lwahhabi@accenture.com] 
>Sent: Tuesday, July 05, 2005 4:50 AM
>To: user@ant.apache.org; user@ant.apache.org
>Subject: wild card in project.getProperty()



>Hello gentle people;
>I was wondering if you can achieve the following using <scriptdef>:
>I would like to retrieve all the properties prefixed with a given string
>in my project to process them afterward.
>i.e: get all properties starting with "zos.".
>How acan you do this with Ant?
>thanks for any clue.

>Hava nice day.
>hind.


>This message is for the designated recipient only and may contain
>privileged, proprietary, or otherwise private information.  If you have
>received it in error, please notify the sender immediately and delete
>the original.  Any other use of the email by you is prohibited.

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

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



Ciao, J├╝rgen



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




This message is for the designated recipient only and may contain privileged, proprietary,
or otherwise private information.  If you have received it in error, please notify the sender
immediately and delete the original.  Any other use of the email by you is prohibited.


Mime
View raw message