Thank You Rebhan,

I shall start using antlope.

I could find another workaround.. may be of help..

User the globar mapper with property set to change the names to some temp
names

 <propertyset>
                <propertyref prefix="dGen"/>
                <mapper type="glob" from="@{aPrefix}*" to="[EMAIL PROTECTED]"/>
            </propertyset>

By this dGen prefix properties would be avaiable again.
Regards,
Nagendra



Rebhan, Gilbert wrote:
> 
> -----Original Message-----
> From: Raja Nagendra Kumar [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, July 24, 2008 2:48 PM
> To: user@ant.apache.org
> Subject: Way to unset perticular prefix properties
> 
> 
> /*
> Hi,
> Would like to find a way to unset all the properties which have a
> certain
> prefix.
> 
> Using propertyset I could collect all such properties. However not sure
> how
> to unset each of them.. is there a way to iterate the property set.. so
> that
> i could antcontrib var unset approach.
> */
> 
> i use the <unset> task from the Antelope tasksuite like that =
> 
> <echoproperties prefix="foo"
>       destfile="path/to/file/with/props_to_reset" />
> 
> <unset file="path/to/file/with/props_to_reset" />
> 
> 
> Antelope =
> http://antelope.tigris.org/
> 
> 
> Regards, Gilbert
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Way-to-unset-perticular-prefix-properties-tp18631235p18632975.html
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to