ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Glenn McAllister" <gle...@ca.ibm.com>
Subject Re: <echo file="foo"> goes to stdout as well
Date Tue, 03 Oct 2000 13:07:51 GMT


Hmm... I'm still not getting that behaviour, but then I'm on straight WinNT
here at work.  I didn't get the chance to try things last night at home
with my Linux/Win98 box.  Anyone else able to reproduce this behaviour?

My only other suggestion is to get the latest CVS and make sure you aren't
picking up an older version of ant.jar.  Sorry I can't be of any more help
just now.

Glenn McAllister
Software Developer. IBM Toronto Lab, (416) 448-3805
"An approximate answer to the right question is better than the
right answer to the wrong question." - John W. Tukey


Please respond to ant-dev@jakarta.apache.org

To:   ant-dev@jakarta.apache.org
cc:
Subject:  Re: <echo file="foo"> goes to stdout as well

--- 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