Another issue (we don't have quotas, do we?) Actually, I'm not sure if this is an issue, or if NAnt is supposed to work like this.
I've got a series of tasks to build and send an email onsuccess/onfailure. This is all working fine, except for one thing... I define a few tasks inline for incrementally generating an xml file (which then gets styled and sent as a html mail). If the email target is run as part of the normal build, then everything works fine - the tasks get registered, and the mail is generated correctly. If the email target is run as part of onsuccess/onfailure, the tasks no longer get registered, so I get a build failure trying "invalid element" to generate the email. Should tasks be definable after the build has "finished"? While on the topic of after-success/failure, would anyone else find useful the functions nant::is-onsuccess() [returns true if the onsuccess event has fired], nant::is-onfailure() [returns true if the onfailure event has fired] and nant::is-finished() [returns true if either the onsuccess or onfailure event has fired]... names of course subject to change :-) This isn't a biggie of course, as there's a simple workaround: set a 'nant.onsuccess' or 'nant.onfailure' property in the onsuccess/onfailure targets. -- Troy Disclaimer Message: This message contains confidential information and is intended only for the individual(s) named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please immediately delete it and all copies of it from your system, destroy any hard copies of it, and notify the sender. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. To the maximum extent permitted by law, Immersive Technologies Pty. Ltd. does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users