ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 12511] - <concat> directive must have a newline
Date Fri, 04 Apr 2003 09:19:21 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12511>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12511

<concat> directive must have a newline





------- Additional Comments From peter.reilly@corvil.com  2003-04-04 09:19 -------
Ok I have including the patch. It is part of
an update to the enchanced concat.

The patch implements following attributes

* outputencoding
* fixlastline
* eol

and *encoding on header and footer nested elements

There is test cases for the outputencoding and fixlastline. The
test case for outputencoding depends on the files used in the
copy tests.

A new method setWriter has been added. This is to allow
concat to be used as a nested element (as part of a filter
chain). The idea here is to remove header and footer as nested elements
of concat, and add them as nested elements of filterchain (so they
can be used with concat, loadfile and copy).
example:
   <concat>
     <some files>
     <filterchain>
         <header>This is the header</header>
         <footer><path path="footer.txt"></footer>
     </filterchain>
   </concat>

Peter.

Mime
View raw message