The following copy command gets a regexp syntax error before it ever gets to
the mapper:

        build.xml:83: org.apache.regexp.RESyntaxException:
                Syntax error: Missing operand to closure

<target name="templocal" depends="init">
        <copy todir="${installdir}">               <!-- line 83 -->
                <fileset dir="${srcdir}/install/bin">
                        <include name="*local*" />
                </fileset>
                <mapper type="regexp" from="^(*.)local-(*.)" to="\1\2" />
        </copy>
</target>

If I remove the mapper line, the error goes away.  (So, of course, does the
functionality.)  Can anyone suggest what I'm doing wrong?  (I'm using
jakarta-regexp-1.1.jar.)

advTHANKSance.

-- Dani Zweig
   [EMAIL PROTECTED]

Reply via email to