ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: [Fwd: globmapper directory character interpreting]
Date Wed, 08 Dec 2004 14:56:26 GMT
On Mon, 06 Dec 2004, Peter Reilly <> wrote:

> This is not the case for the "glob" mapper and this has caused some
> pain and some scripts to fail when moved from unix to windows and
> visa-versa.

The same is true for the regexp mapper.  Only things are a bit more
complicated here, since \ also is a special character for the regexp

> One can of course use ${file.separator}, but this does make the
> scripts look ugly and one is not inclined to do this.

But likely is the only clean solution.

> One could add an attribute to globmapper to tell it to do the
> interpertation ("handledirchars" ?), but it may be nicer just to
> always interpret the / and \ in the same as the "includes", and
> "include" attributes and elements in fileset et. al.

I'd prefer an explicit attribute and use the same attribute for the
regexp mapper as well.


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

View raw message