ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject Re: <echo file="foo"> goes to stdout as well
Date Mon, 02 Oct 2000 18:25:21 GMT
--- Glenn McAllister <glennm@ca.ibm.com> wrote:
> Diane, I'm not getting that behaviour when I try with my set of tests.
> Could you provide the snippet of the build file causing you the problem?

  <target name="testecho">
    <echo file="foofile">This is the initial text.
</echo>
    <echo file="foofile" append="yes">This is additional text.
</echo>
  </target>

Results in:
[binky] ant -f test.xml testecho
Buildfile: test.xml
testecho:
This is the initial text.

This is additional text.


BUILD SUCCESSFUL
Total time: 1 second
[binky] cat foofile
This is the initial text.
This is additional text.
[binky]

I'm running on NT under MKS, with Ant version 1.2alpha3 compiled on
September 29 2000.

Thanks,
Diane


=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.yahoo.com/

Mime
View raw message