----- Original Message ----- 
From: "Mike Roberts" <[EMAIL PROTECTED]>
To: <nant-developers@lists.sourceforge.net>
Sent: Monday, April 04, 2005 11:56 AM
Subject: [nant-dev] <property file="filename" /> ?


> Hi Nant Dev,
>
> Ant supports loading properties from a file (using the 'file'
> attribute - see http://ant.apache.org/manual/CoreTasks/property.html)
> . Is there any plan to support this in NAnt?
>
> Why?
>
> There's some discussion on the CCNet dev mailing list at the moment
> about how best to set a whole bunch on NAnt properties dynamically. We
> started off several -Dname=value constructs on the command line but
> we're reaching the limit of this.

Recent nightly builds (and the next RC) of NAnt now also support a response
file (using the @<response file> command line option), thanks to Ian.

> We'd much prefer just to write out a Name/Value file and let NAnt read it
in.

You can just use an <include> task for this purpose.  The included project
(build file) can just contain a project element and a set of properties to
set in the parent project.

Gert


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to