I've made some of the changes we've been discussing for the past 2 weeks. Here it goes.
1.) Changed Project ctor(s). Removed () and added (string filepath) (XmlDocument doc) http://www.mail-archive.com/[email protected]/msg001 14.html There is now support for non-filebased build docs. This means you can do the following. XmlDocument doc = new XmlDocument(); XmlElement project = doc.CreateElement("project"); project.add(doc.CreateElement("tstamp")); Project proj = new Project(doc); proj.Run(); If also means that the BuildFileName property has been broken up into the BuildFileURI and BuildFileLocalName properties. If the XmlDocument is built in memory, these will both be null. 2.) BaseDir stuff. I removed the basedir nant.exe command line option and NAntTask attribute. http://www.mail-archive.com/[email protected]/msg000 41.html 3.) TaskFactory is now static (well, all the methods and props are). There was no local state that was being kept here that was specific to any project. This also makes the TaskFactory is more central (and doesn't need to be passed around), and an easy place to look at for a list of available task types. 4.) Other changes: Target gets description property. nant.onsuccess/onfailure properties get called after build. I cleaned up the tests around these changes and everything runs. Now that I'm done with these, I can move on to the attribute stuff. Please send me mail if any of these changes do no make sense or cause problems. _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] _______________________________________________ Nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
