ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: custom task & 'untouched' xml from build file
Date Fri, 21 Jun 2002 15:34:06 GMT
On Fri, 21 Jun 2002, Erik Ostermueller <Erik.Ostermueller@alltel.com>
wrote:

> However, I'd like ANT to pass all nested XML to me in an unaltered
> form, not piece by piece.

<mytask><![CDATA[
  <foo>
    <bar>
    </bar>
  </foo>
]]></mytask>

should work - you need to implement addText in your custom task and
will receive the whole thing in a String (may be called multiple
times, so better you concatenate them).

Stefan

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


Mime
View raw message