ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: REGEXP mapper Help needed
Date Mon, 06 Oct 2003 15:49:01 GMT
On Mon, 6 Oct 2003, Doug Lochart <> wrote:

> This works fine in copying over the .ccp files to .cl2 but there is
> one other requirement, and that is that the \1 match needs to be
> uppercased.

I'm afraid that this can't be done with a regular expression (at least
not the kind that is supported by Ant).

You could write your own mapper implementation, it shouldn't be too
hard to do.  Make it extend RegexpPatternMapper (only if you really
need regular expression support) and override mapFileName to use the
result of your super class and uppercase the filename part of it.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message