> no - you can't do this right now. However it would be fairly easy to
> write a custom task ( or <script > ) that does the equivalent of the
> <include> task but for the name=value property file format.

Even easier than a task or script, this task is very simple in a
<foreach> loop...

<foreach item="Line" in="${property.filename}" delim="=" property="name,value">
  <property name="${name}" value="${value}" />
</foreach>

Trivial extensions include allowing for expansion/evaluation in
property values.  I can't remember off the top of my head how well
this deals with lines with multiple = signs, though.


-- 
Troy


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to