Scott Hernandez wrote: >I had imagined a collection of task-based schema definition files, >probably just one for the core tasks, which would be combined at >run-time to create the full schema definition. This way you could >include as many as you like, or customize them. > >Automatic generation is a good idea. That was what I was imagining in >the beginning but I didn't think there was enough meta-data in the task >classes themselves to define the schema. After looking into I think >there is enough to start. > >I've created a simple example that creates XSD Elements for each >TaskNameAttribute and uses the TaskAttributeAttribute as XSD Attributes. >Now I need to finish it up by doing included Elements :) > > cool. Did you look at the code in Element.InitializeAttributes() ?? It scans for included elements to actuall load tasks from the build file
Ian _______________________________________________ Nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
