You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Matt Benson <gu...@yahoo.com> on 2004/04/01 21:18:31 UTC

Re: newbie question emailing build file

See
http://ant.apache.org/manual/listeners.html#MailLogger

-Matt

--- Edward Peloke <ep...@echoman.com> wrote:
> What it the best way to e-mail the build file?  I
> know I can use the mail
> task to e-mail files but it won't e-mail the ant
> logfile as it hasn't
> completed yet...right?  What is the best way to get
> an e-mail when the build
> is over telling me if it was successfull?  Should I
> kick off another build
> script when the first one is complete?
> 
> Thanks,
> Eddie
> 
>  WARNING:  The information contained in this message
> and any attachments is
> intended only for the use of the individual or
> entity to which it is
> addressed.  This message may contain information
> that is privileged,
> confidential and exempt from disclosure under
> applicable law.  It may also
> contain trade secrets and other proprietary
> information for which you and
> your employer may be held liable for disclosing. 
> You are hereby notified
> that any unauthorized dissemination, distribution or
> copying of this
> communication is strictly prohibited.  If you have
> received this
> communication in error,  please notify
> HIPAA@echoman.com by E-Mail and then
> destroy this communication in a manner appropriate
> for privileged
> information.
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> user-help@ant.apache.org
> 


__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


RE: newbie question emailing build file

Posted by Matt Benson <gu...@yahoo.com>.
--- Edward Peloke <ep...@echoman.com> wrote:
> Thanks Matt,
> 
> if I use this when running the script
> ant -logger org.apache.tools.ant.listener.MailLogger
> 
> how do I define where the e-mail is sent using the
> MailLogger.failure.to
> messages to?

Never having used it, this is straight out of the
manual and having seen discussions about this logger
on the lists.  I believe you can set properties on the
command line via -D options, via a global properties
file via the -propertyfile option, within the
buildfile itself, via a MailLogger properties file
specified in any of the above ways into the
MailLogger.properties.file property, etc., etc...

HTH,
Matt

__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


RE: newbie question emailing build file

Posted by Edward Peloke <ep...@echoman.com>.
Thanks Matt,

if I use this when running the script
ant -logger org.apache.tools.ant.listener.MailLogger

how do I define where the e-mail is sent using the MailLogger.failure.to
messages to?

Thanks,
Eddie


-----Original Message-----
From: Matt Benson [mailto:gudnabrsam@yahoo.com]
Sent: Thursday, April 01, 2004 2:19 PM
To: Ant Users List
Subject: Re: newbie question emailing build file


See
http://ant.apache.org/manual/listeners.html#MailLogger

-Matt

--- Edward Peloke <ep...@echoman.com> wrote:
> What it the best way to e-mail the build file?  I
> know I can use the mail
> task to e-mail files but it won't e-mail the ant
> logfile as it hasn't
> completed yet...right?  What is the best way to get
> an e-mail when the build
> is over telling me if it was successfull?  Should I
> kick off another build
> script when the first one is complete?
>
> Thanks,
> Eddie
>
>  WARNING:  The information contained in this message
> and any attachments is
> intended only for the use of the individual or
> entity to which it is
> addressed.  This message may contain information
> that is privileged,
> confidential and exempt from disclosure under
> applicable law.  It may also
> contain trade secrets and other proprietary
> information for which you and
> your employer may be held liable for disclosing.
> You are hereby notified
> that any unauthorized dissemination, distribution or
> copying of this
> communication is strictly prohibited.  If you have
> received this
> communication in error,  please notify
> HIPAA@echoman.com by E-Mail and then
> destroy this communication in a manner appropriate
> for privileged
> information.
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> user-help@ant.apache.org
>


__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway
http://promotions.yahoo.com/design_giveaway/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org