Hi,
I tried to set properties using the "propertyset" task and the
"propertyref" nested element. The ant manual
(http://ant.apache.org/manual/CoreTypes/propertyset.html) 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 org.apache.tools.ant.types.PropertySet$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>
<propertyset id="xml">
<propertyref regexp=".*\xml$"/>
</propertyset>
</target>
Please advise on how to resolve this problem.
Regards,
Swathi.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
|