[nant-dev] Re: new xml type

2004-01-06 Thread Matthew Mastracci
For tasks (such as the solution task), what about having C# classes in NAnt that map to XML itself? They could appear as XML to xmlpeek/xmlpoke/xmlforeach, but would be backed by C# classes internally. This would make it far simpler to return values from tasks. Martin Aliger wrote: Hi all,

Re: [nant-dev] Re: new xml type

2004-01-06 Thread Scott Hernandez
This sounds interesting but I'm not sure I follow. Can you explain a little more? The concept of inputs/outputs to tasks (when called from other tasks) and adding context info so tasks know about following task, and preceding tasks, sounds interesting. But I'm not sure how this ties in here.

[nant-dev] Re: new xml type

2004-01-06 Thread Matthew Mastracci
I suppose my original message wasn't that clear. I'm not completely certain this idea is fully formed in my head either! ;) What I'm proposing is that the NAnt build script writer user would use the task outputs as if they were XML, but under the hood they would be fully-fledged C# classes.