You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Gus Heck <gu...@cognition.olin.edu> on 2003/06/11 20:32:30 UTC

property from a flat file

Is there already a known way to load the entire contents of a file into 
a property? I know someone that wrote a custom task for this (using it 
with replace) and at a quick look I didn't see this functionality 
anywhere. Should I convince him to add a valuefromfile atribute to 
property? or did I simply miss an existing feature?

-Gus


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: property from a flat file

Posted by Conor MacNeill <co...@cortexebusiness.com.au>.
On Thu, 12 Jun 2003 04:32 am, Gus Heck wrote:
> Is there already a known way to load the entire contents of a file into
> a property? I know someone that wrote a custom task for this (using it
> with replace) and at a quick look I didn't see this functionality
> anywhere. Should I convince him to add a valuefromfile atribute to
> property? or did I simply miss an existing feature?

http://ant.apache.org/manual/CoreTasks/loadfile.html



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: property from a flat file

Posted by Albert Pastrana <al...@ludicus.com>.
Hi, you are missing an existing feature, the loadfile task performs what you
need

rgds,
  albert

----- Original Message -----
From: "Gus Heck" <gu...@cognition.olin.edu>
To: "Ant Developers List" <de...@ant.apache.org>
Sent: Wednesday, June 11, 2003 8:32 PM
Subject: property from a flat file


> Is there already a known way to load the entire contents of a file into
> a property? I know someone that wrote a custom task for this (using it
> with replace) and at a quick look I didn't see this functionality
> anywhere. Should I convince him to add a valuefromfile atribute to
> property? or did I simply miss an existing feature?
>
> -Gus
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org