On 7/30/05, Juergen Hermann <[EMAIL PROTECTED]> wrote:
> On Sat, 30 Jul 2005 08:32:45 +0100, THUFIR HAWAT wrote:
> 
> >I'm looking at <http://ant.apache.org/manual/CoreTasks/echo.html> but
> >don't see how to echo a file to the screen (System.out?).
> 
> what you'd use in linux, namely <concat>.
> 
> Ciao, Jürgen

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 "/home/thufir/java/foo.txt", 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to