ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Copy files to output, but a directory higher...
Date Mon, 30 Sep 2002 06:11:23 GMT
On Fri, 27 Sep 2002, Richard Tasker <> wrote:

> I am trying to copy files from /src/blah/I18N -> /output/blah

Is blah a constant or can blah change? I.e. are there multiple values
for blah in a single <copy>?  If so, you'll need to use a regexp
mapper instead of a glob mapper.

<mapper type="regexp" from="(.*)/I18N/(.*)" to="\1/\2"/>

If it is constant, something like

<mapper type="glob" from="blah/I18N/*" to="blah/*"/>

should work (note, no leading slash).


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

View raw message