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 Wed, 11 Sep 2002 22:15:30 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 ant@kruithof.xs4all.nl  2002-09-11 22:15 -------
I have started implementing an optional attribute, when I discovered that if 
the user specifies the encoding the concat task will have the requested 
behaviour if the encoding is set:

  <target name="concattest">
      <concat destfile="out">
          <fileset dir="input"/>
      </concat>
      <concat destfile="out2" encoding="ASCII">
          <fileset dir="input"/>
      </concat>
  </target>

[jkf@kruithof ~/a]$ ant -f test.xml concattest
Buildfile: test.xml

concattest:

BUILD SUCCESSFUL
Total time: 8 seconds
[jkf@kruithof ~/a]$ cat out
ab[jkf@kruithof ~/a]$ cat out2
a
b
[jkf@kruithof ~/a]$

The question is, is this a bug or a feature.

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


Mime
View raw message