ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dani" <>
Subject Copying with regexp mapper
Date Tue, 17 Apr 2001 13:34:08 GMT
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*" />
		<mapper type="regexp" from="^(*.)local-(*.)" to="\1\2" />

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


-- Dani Zweig

View raw message