ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Swathi Rao <>
Subject Problem with propertyref's "regexp" attribute
Date Mon, 21 Mar 2005 12:50:31 GMT
I tried to set properties using the "propertyset" task and the
"propertyref" nested element. The ant manual
( states that
"regexp" is a valid attribute of the task "propertyref". However when
I use it in my code, it throws the following error -
Class$PropertyRef doesn't
support the "regexp" attribute.

p.s:  The ant version I am using is Ant 1.6.2.

Here is a snippet from my code - 
<target name="checkExtensions">
	<propertyset id="txt">
		<propertyref regexp=".*\txt$"/>
	<propertyset id="xml">
		<propertyref regexp=".*\xml$"/>

Please advise on how to resolve this problem.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message