ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Becroft <djcbecr...@gmail.com>
Subject Replace filter + strip quotes
Date Thu, 25 Mar 2010 23:38:07 GMT
Hi,

I am trying to use <replace /> and <replacefilter /> to generate a html page
from a template, based on certain properties for the build (version number,
etc). However, one of the properties I am trying to replace contains quotes,
as it has spaces in it.

e.g.
build.properties
my.property="XYZ Software Company"

When this is replaced into the generated html file, it brings the quotes
across. Is there a simple method of stripping the quotes (either before or
after the replace)?
---
Daniel Becroft

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message