Load the file into a property with <loadfile>, then <echo> the property value.
-- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere v7 Release Engineer WebSphere Build Tooling Lead (Project Mantis) "koden (sent by Nabble.com)" <[EMAIL PROTECTED]> wrote on 08/24/2005 01:39:26 PM: > > If I have a text file, how do I echo the text inside of it using an > Ant Task? The echo task can echo to a file, but can it echo a > file's contents? > -- > Sent from the Ant - Users forum at Nabble.com: > http://www.nabble.com/How-to-Echo-a-file-contents--t250912.html#a701728
