ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <jakarta-...@ehatchersolutions.com>
Subject Re: Use properties in regular expressions
Date Mon, 14 Oct 2002 15:15:02 GMT
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>


Mime
View raw message