Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
AW: Using property in regexp mapper

AW: Using property in regexp mapper

2004-02-13       - By Hagen, Christian
Reply:     1     2  

Hi Matt,


thanks for the quick answer. I already use ant-contrib tasks a lot, and just
wanted to avoid another for-loop. Looks like it will not work :-(


Greetings
Chris




-----Urspr?ngliche Nachricht-----
Von: Matt Benson [mailto:gudnabrsam@(protected)]
Gesendet: Freitag, 13. Februar 2004 17:14
An: Ant Users List
Betreff: Re: Using property in regexp mapper

--- "Hagen, Christian" <chagen@(protected)> wrote:
> It does not work telling me: "Property ${prod.\1.target} has not been
> set".
>
> Does this mean the property is resolved before inserting the regexp
> group?

Yes.

> Does anybody know another way to do the copying?
>

Try using some of the custom tasks provided by ant-contrib; probably <for> and
<propertycopy> or <propertyregex>.

-Matt


__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands
, e-mail: user-help@(protected)




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)



©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.