>From: "Ian MacLean" <[EMAIL PROTECTED]>
>Sent: Monday, August 09, 2004 9:41 PM

Either I'm confused, or this entire discussion is based upon a
misinterpretation:

> Merrill Cornish wrote:
>
> > Felice,
> >
> > In the new, improved NAnt, properties now have the option of a
> > readonly attirbute.  Furthermore, any property set because it appeared
> > in a -D:property=value item on the script command line will
> > automatically be readonly.  So, you can't change in the script the
> > value of a property passed in via the command line.
> >
> really ? When did that change come in ? It doesn't seem right that you
> can't set a default in the build file and have it overwritten by the
> value passed on the commandline. This is a fairly common use case. The
> previous behaviour probably makes more sense.

My reading is that Merrill is saying that the script cannot override the
command line, but that Ian misinterpreted this the other way around, i.e. he
thought it means that the commandline cannot override the script.

If my reading is correct, then much of the subsequent discussion is moot.
It already does what people are asking for it to do.  I've confirmed that my
conclusion about the behavior is correct, i.e. -D implies readonly, but
readonly="true" doesn't prevent the command line from having the first,
last, and only say.  This is with the July 7th build (0.85.1649), do I can't
promise that it's still true.

Gary




-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to