ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Magesh Umasankar" <>
Subject Re: [PATCH] srcFile to echo
Date Fri, 07 Dec 2001 08:06:14 GMT
From: "Steve Loughran" <>

> I had this irresistible urge to print the output of a program to the
> This patch adds a srcFile attribute to Echo; if set the source file is
> in (default encoding) and replaces the message test,.


> I am not actually sure if this is the best approach. A more general
> approach would be to have
> <loadfile name="foo" srcFile="somefile.txt" /> and have the property bound
> to the contents of the file.
> Echoing then becomes <echo message="${foo}"/>


The former does not hinder development of the latter.  Some might
prefer to just display the file and forget about it instead of loading it
up in memory as a property.


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

View raw message