/*Start off with the compile task creating a file if the target is ok..*/
<csc target="exe" output="helloworld.exe" debug="true" doc="helloworld.doc">
<sources>
<includes name="helloworld.cs" />
</sources>
</csc>
/*set the availability of the file*/
<available type="File" resource="helloworld.doc" property="myfile.present"
/>
/*then on the Backend use one of these conditions*/
<if propertyexists="myfile.present">
<echo message="Documentation has been created you're good to
go'" />
</if>
<ifnot propertyexists="myfile.present">
<echo message="Documentation has not been created your
compile failed please check the logs"/>
</if>
Hth,
-Martin
----- Original Message -----
From: "Block, Jeffrey A. (Jeff)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 07, 2004 9:55 AM
Subject: RE: [Nant-users] Emailing build results
> Yes, I have already reviewed that page, but my confusion is that I don't
> know _how_ to set the various properties. Martin pointed me towards the
> "mail" task, but it does not seem to have the properties of the
MailLogger,
> e.g. MailLogger.success.notify. I want to make this false, instead of the
> default value of true. I only want an email if the build fails.
>
> The page you reference tells how to invoke the various loggers/listeners
on
> the nant command line, but not how to set the properties.
>
> Thanks!
>
> Jeff Block
>
>
> -----Original Message-----
> From: Gert Driesen [mailto:[EMAIL PROTECTED]
> Sent: Friday, May 07, 2004 8:17 AM
> To: Martin Gainty; Block, Jeffrey A. (Jeff);
> [EMAIL PROTECTED]
> Subject: Re: [Nant-users] Emailing build results
>
> More information is available here :
> http://nant.sourceforge.net/nightly/help/fundamentals/listeners.html
>
> Gert
> ----- Original Message -----
> From: "Martin Gainty" <[EMAIL PROTECTED]>
> To: "Block, Jeffrey A. (Jeff)" <[EMAIL PROTECTED]>;
> <[EMAIL PROTECTED]>
> Sent: Friday, May 07, 2004 1:53 PM
> Subject: Re: [Nant-users] Emailing build results
>
>
> > Jeffrey
> > Check out http://nant.sourceforge.net/nightly/help/tasks/mail.html
> > If you supply a working SMTP Server you should be OK for sending
> > automated
> > emails-
> > Martin
> > ----- Original Message -----
> > From: "Block, Jeffrey A. (Jeff)" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Friday, May 07, 2004 7:45 AM
> > Subject: RE: [Nant-users] Emailing build results
> >
> >
> > > I need to start sending emails on failures only. I've reviewed the
> > > link below and believe that the MailLogger has the capability to do
> > > what I
> > want.
> > > What I'm missing is where to set the properties that "controlling
> > > the operation of MailLogger" like: MailLogger.from,
> > > MailLogger.failure.to,
> > etc.
> > >
> > > I do not see a MailLogger task, so do I just set properties in my
> > buildfile
> > > like:
> > > <property "MailLogger.from" value="emailaddress" />
> > >
> > > If this is the idea, are the properties case sensitive? (just want
> > > to
> > know,
> > > I'd probably mimic the case on the page below)
> > >
> > > Thanks!
> > >
> > >
> > > Jeff Block
> > >
> > >
> > > -----Original Message-----
> > > From: Gert Driesen [mailto:[EMAIL PROTECTED]
> > > Sent: Saturday, April 03, 2004 2:59 AM
> > > To: Peter Jones; [EMAIL PROTECTED]
> > > Subject: Re: [Nant-users] Emailing build results
> > >
> > > I added a doc about loggers & listeners. You can view it here :
> > > http://nant.sourceforge.net/nightly/help/fundamentals/listeners.html.
> > >
> > > Hope this helps,
> > >
> > > Gert
> > > ----- Original Message -----
> > > From: "Peter Jones" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Tuesday, March 30, 2004 3:36 AM
> > > Subject: [Nant-users] Emailing build results
> > >
> > >
> > > Is there a way to email the build results ?
> > >
> > > I guess I can create a wrapper .build file and then capture the
> > > output but I'd like to do it in a single .build file if possible.
> > >
> > >
> > >
> > >
> > > -------------------------------
> > > Peter G Jones
> > > University of Canterbury, NZ
> > > -------------------------------
> > > Senior Analyst/Programmer
> > > Microsoft .Net MVP
> > > Blog: http://jonsie.net
> > >
> > >
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux
> > > tutorial presented by Daniel Robbins, President and CEO of GenToo
> > > technologies. Learn everything from fundamentals to system
> > > administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=ick
> > > _______________________________________________
> > > Nant-users mailing list
> > > [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/nant-users
> > >
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux
> > > tutorial presented by Daniel Robbins, President and CEO of GenToo
> > > technologies. Learn everything from fundamentals to system
> > > administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
> > > _______________________________________________
> > > Nant-users mailing list
> > > [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/nant-users
> > >
> > >
> > > ********************************************************************
> > > ** PLEASE NOTE: The above email address has recently changed from a
> previous
> > naming standard -- if this does not match your records, please update
> > them to use this new name in future email addressed to this individual.
> > >
> > > This message and any attachments are intended for the individual or
> > > entity named above. If you are not the intended recipient, please do
> > > not forward, copy, print, use or disclose this communication to
> > > others; also please notify the sender by replying to this message,
> > > and then delete it from your system.
> > >
> > > The Timken Company
> > > ********************************************************************
> > > **
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.Net email is sponsored by Sleepycat Software Learn developer
> > > strategies Cisco, Motorola, Ericsson & Lucent use to
> > deliver
> > > higher performing products faster, at low TCO.
> > > http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
> > > _______________________________________________
> > > Nant-users mailing list
> > > [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/nant-users
> > >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by Sleepycat Software Learn developer
> > strategies Cisco, Motorola, Ericsson & Lucent use to
> deliver
> > higher performing products faster, at low TCO.
> > http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
> > _______________________________________________
> > Nant-users mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/nant-users
> >
>
>
> **********************************************************************
> PLEASE NOTE: The above email address has recently changed from a previous
naming standard -- if this does not match your records, please update them
to use this new name in future email addressed to this individual.
>
> This message and any attachments are intended for the
> individual or entity named above. If you are not the intended
> recipient, please do not forward, copy, print, use or disclose this
> communication to others; also please notify the sender by
> replying to this message, and then delete it from your system.
>
> The Timken Company
> **********************************************************************
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by Sleepycat Software
> Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to
deliver
> higher performing products faster, at low TCO.
> http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
> _______________________________________________
> Nant-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-users
>
-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users