ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suu Quan" <sq...@wwc.com>
Subject regexp mapper problem
Date Mon, 21 May 2001 20:21:55 GMT
Same old newbie speaking

I tried this simple mapper that is the equivalent of 'copy all files,
prepending 'TUTU' in front of the filename
<target name='regexp'> <!-- there is a syntax error somewhere -->
      <copy todir="./mapper/regexp">
      <mapper type="regexp" from="^(.*)$$" to="TUTU\1"/>
      <fileset dir="/stp/stpd">
      </fileset>
      </copy>
</target>

What I get is
BUILD FAILED

C:\comrec\Ant\mapper.xml:41: No supported regular expression matcher found

property information
ant.java.version (JVM version used by Ant) = 1.3
os.name         = Windows 2000
java.vm.version = 1.3.0_02

thanks in advance


Mime
View raw message