ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Burgess, Benjamin" <>
Subject RE: echo foo.txt, like "cat foo.txt"
Date Mon, 01 Aug 2005 18:08:21 GMT
To print a file to the screen you could do this:

<loadfile property="myFile" srcfile="/myFileName"/>
<echo message="${myFile}"/>


-----Original Message-----
From: Andrew Goktepe [] 
Sent: Saturday, July 30, 2005 7:49 PM
To: Ant Users List; THUFIR HAWAT
Subject: Re: echo foo.txt, like "cat foo.txt"

Try it without the trailing slash in the dir attribute 

On 7/30/05, THUFIR HAWAT <> wrote: 
> Heh, thanks. Here's what I have:
> <concat destfile="${outputDir}/bar.txt" append="true">
> <filelist
> dir ="/home/thufir/java/"
> files ="foo.txt"
> />
> </concat>
> I want "/home/thufir/java/foo.txt" to be appended to
> "${outputDir}/bar.txt", and then I might even "print" bar.txt to the
> screen as part of the script.
> In the filelist, the "dir" and "files" means
> yes?
> and the destination file is "${outputDir}/bar.txt", so that foo.txt
> will be appended to bar.txt yes?
> I must have at least one thing wrong/not understood above.
> Thanks,
> Thufir
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

This message, including any attachments, contains confidential information intended for a
specific individual and purpose, and is protected by law.  If you are not the intended recipient,
please contact sender immediately by reply e-mail and destroy all copies.  You are hereby
notified that any disclosure, copying, or distribution of this message, or the taking of any
action based on it, is strictly prohibited.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message