ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Wilson <sha...@atmreports.com>
Subject Re: Use properties in regular expressions
Date Mon, 14 Oct 2002 15:30:23 GMT
Okay thanks guys I'm not sure why I had problems with this before, I 
must have mis-spelled my property name or something. Anyways it works now!

-shawn

Erik Hatcher wrote:
> Properties in attributes are expanded *before* they are handed to tasks. 
>  So the answer is yes you can use Ant properties in 'replace'.  Its 
> task-dependent whether that is true for XML element data (like the <sql> 
> task), but attributes always follow this rule.
> 
>     Erik
> 
> 
> Shawn Wilson wrote:
> 
>> Hi,
>>
>> I'm using the <replaceregexp> tag and I'm wondering if I can refer to 
>> a property value within the 'replace' attribute of the tag. I don't 
>> see any mention in the documentation about how this might be 
>> accomplished, if it can at all.
>>
>> Thanks,
>> -shawn
>>
> 
> 
> -- 
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>

-- 
====================================
Shawn Wilson [shawnw@atmreports.com]
Software Developer, ATMReports.com
PH: 877-327-0873, FAX: 406-294-5806
====================================


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


Mime
View raw message