Hey Andrew, Most of the initialization is started here:
void Initialize(XmlNode elementNode, PropertyDictionary properties, FrameworkInfo framework) in NAnt.Core.Element I'd suggest debugging NAnt running a simple project if you want to learn more. If you have any specific questions, I'll be glad to help. Gert -----Original Message----- From: Schley Andrew Kutz [mailto:[EMAIL PROTECTED] Sent: zondag 26 oktober 2008 16:56 To: nant-developers@lists.sourceforge.net Subject: [nant-dev] Testing a Custom Task All of the examples I have found in NAnt and NAnt-Contrib begin and end with the base test class and executing a project. I am not interested in executing the project as I know the execution will work if the properties and build elements are loaded properly. What I am interested in is parsing XML to see if the aforementioned items *do* load as expected. This is where I am having trouble; I cannot figure out how to parse the XML into a task. I have attempted the InitializeXml method with the necessary parameters, but I keep getting an "Object not initialized" exception on the AttributeConfigurator's ctor. Any and all assistance is appreciated. Thanks! -- -a "condensing fact from the vapor of nuance" ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers