+1 on co-existence, of include+includes, for a release or two, but totally removal by 1.0.
As for the "strict" enforcement of only declared elements and properties for tasks/types, I had done some work on that a long time ago. Take a look at the Element.AttributeConfigurator.InitilizeElement() code at the end of the method. You will see a section that say "#region Check Tracking Collections for Attribute and Element use" that emits the warnings. You could change those to fail with a switch. But I would suggest that you go through and run a lot of tests before you do this. There are still some tasks/types that correctly do their own <element/> process that this method may flag as errors. As I remember. I went through a cleanup a lot of them a year ago, but much has changed since then. For now, you can run with warnings logged and see what is caught. > From: "Clayton Harbour" [EMAIL PROTECTED] > Hi, > > > the naming is clearer I suppose but there is a certain amount of > > > inertia > > > - there are a lot of build files out there wil the current naming. > > > > I know, that why I'm asking ... we'll see how others respond > > ... we could ofcourse have both of them coexist, and then > > deprecate includes/excludes later ... > > I would prefer it if the two co-existed for a release (or two even), > with the <includes /> element deprecated (and warnings during the build > process). It gives people fair enough warning before their build files > stop working. > > Also, there was also talk about adding a "strict" switch to the > commandline awhile back which. This might be a good notification > feature when this goes away. Has anyone done any work on this? I could > probably take a stab at it if someone gave me a high level on the > project load process. ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers