I'm trying to use a regexp mapper thusly:
<copy todir="${output.webapp.xml}">
<fileset refid="xml-files"/>
<mapper type="regexp" from="(.*)/Foo(.*)/(.*)" to="\1/\2/\3"/>
</copy>
Basically I'm trying to map files that come from directories starting
with Foo to remove the Foo portion (I've got directories like Reports
and FooReports and I want to copy the contents from both into just Reports).
The problem is that when I run this (JDK 1.4) I get:
C:\Development\Java\build.xml:169: No supported regular expression
matcher found
The docs state that if Ant is running under JDK 1.4 it will look for the
java.util.regexp matcher and use it. Am I missing something?
- Drew
--
Drew Davidson
(520) 531-1966
(520) 531-1965 (fax)
(520) 405-2967 (mobile)
http://www.paintyourselfsilly.com
http://www.ognl.org
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>