ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Weintraub <qazw...@gmail.com>
Subject Re: Problem with Ant pathconvert and paths with spaces
Date Fri, 23 Jul 2010 15:42:34 GMT
On Fri, Jul 23, 2010 at 11:00 AM, Bailey, Darragh <dbailey@hp.com> wrote:
> I've also done some additional testing and have found that the following will eliminate
the problem for a single space.
>
>      <chainedmapper>
>        <regexpmapper to="\1" from="file:([^\!]*)" />
>        <regexpmapper from="(.*)%20(.*)" to="\1 \2" />
>      </chainedmapper>

Take a look at this:
http://ant.apache.org/manual/Types/mapper.html#filter-mapper

This might work:

<filtermapper>
  <replacestring from="%20" to=" "/>
</filtermapper>

-- 
David Weintraub
qazwart@gmail.com

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


Mime
View raw message