Hi Paul, Evan,
 
We could add a MailLogger.attachments property that takes an identifier of a defined fileset.
 
You could then have something like this in your build files:
 
<fileset id="mail.attachments">
    <include name="SomeTool.log" />
    <include name="OtherTool/**/*.bak" />
</fileset>
 
Would it be necessary to have two different properties: one for successful builds (MailLogger.success.attachments) and one for failed builds ((MailLogger.failure.attachments) ?
 
Do you need to be able to set the list of files on the command-line ?
 
Gert
 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Evan Levy
Sent: vrijdag 27 mei 2005 19:56
To: Paul Cowan; nant-users@lists.sourceforge.net
Subject: RE: [Nant-users] Mail Logger

I'm also looking for this feature.  I would like to attach the results of FxCop.
 
Perhaps someone could take a stab at a MailLogger.attachfiles property?


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Cowan
Sent: May 25, 2005 5:48 AM
To: nant-users@lists.sourceforge.net
Subject: [Nant-users] Mail Logger

Hi all,


Is it possible to send attachments using the MailLogger?  I have the following defined:

 

        <property name="MailLogger.mailhost" value="my.smtp.server " />

        <property name="MailLogger.from" value="me.com" />

        <property name="MailLogger.failure.notify" value="true" />

        <property name="MailLogger.failure.to" value=" me.com " />

        <property name="MailLogger.success.to" value=" me.com " />

 

I then run the script like:

 

nant -buildfile:my_buildfile.build -logger:NAnt.Core.MailLogger -l:my_build_log.log

 

I have an NUnit .xml I would like to attach on both success and failure.  Is this possible?


Thanks


Paul

 

 


_____________________________________________________________________
VirusChecked for the Incepta Group plc
_____________________________________________________________________

Reply via email to