ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <ddevie...@gmail.com>
Subject RE: Help with (regexp?) file mapper
Date Mon, 27 Jun 2005 16:53:04 GMT
> From: Emmanouil Batsis [mailto:Emmanouil.Batsis@eurodyn.com]
> ${file.separator} does not work for regexp mapper but that is a minor
> issue; the real issue, IMHO, is using mappers within other tasks. For
> example, the xslt/style allows a nested mapper type="regexp" but that
> does not support the  handledirsep attribute. regexpmapper does, but
> that subtask is not allowed by xslt!

FWIW, you can define an external <mapper> with an ID that contains the
<rexexpmapper> (using the attribute), and refid this one inside <xslt>

Not tested, but a quick look at the code seems to indicate it's possible,
at least on the HEAD>

> Anyway, i just defined a project property to use within mappers and that
> works well.

Do you mind describing your solution in more details, to help those
who search the mailing list archive?

BTW, did you try \${file.separator}? --DD


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message