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,
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.
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.