Stefan Bodewig wrote: > On Fri, 28 Jun 2002, Mark Griffiths <[EMAIL PROTECTED]> wrote: > > > I tried a simple test case with Ant to determine if 3 is consistent, > > and it differs in that Ant allows even "user" properties to be > > overridden by a nested property element. > > Which version of Ant? 1.5beta3 has finally gotten it right (in Ant's > sense) - at least unless I've coded up yet another bug. 8-)
It was 1.4.1 that I tested, since we haven't moved to the 1.5 releases yet. I just tried 1.5beta3 and it works as you describe. In that case, NAnt should copy the 1.5 release behaviour (IMO). > > Gotten right means that command line properties always win and nested > properties of <ant> win over the <property>s of the called build file. > > > Unless anyone can think of concrete reasons why Ant's way of doing > > things is bad, I feel we should mimick Ant on this issue. > > I think one difference between Ant and NAnt you should consider is > that in Ant *all* properties are read-only, even those defined via > <property> in your build file. Personally, I would be happy to see this change. As you can probably tell, I would like to see as much similarity between NAnt an Ant as possible. This is primarily because I use both tools regularly. Ant is also a mature, widely used and well proven technology. These are good reasons for copying it's behaviour. > > Stefan > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Caffeinated soap. No kidding. http://thinkgeek.com/sf _______________________________________________ Nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers