ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Kajsa" <Kajsa.Ander...@thomson.com>
Subject RE: MailLogger
Date Mon, 19 Jan 2004 17:51:24 GMT
Marco,

Have you tried <echo>ing the relavent properties to make sure they're being
set correctly?

Kajsa Anderson

-----Original Message-----
From: mcampelo@webcpd.com [mailto:mcampelo@webcpd.com]
Sent: Monday, January 19, 2004 11:37 AM
To: Ant Users List
Subject: RE: MailLogger


Hello Kajsa,

thanks for your answer.

I invoked Ant as you do:

ant -logger org.apache.tools.ant.listener.MailLogger
-DMailLogger.properties.file=MailLogger.properties

Build run sucessfully with no email messages sent! :(

PS: My ANT version is 1.6

Regards,
Marco Campelo

Anderson, Kajsa (Kajsa.Anderson@thomson.com) escreveu:
>
>Here's how I invoke Ant using MailLogger...
>
>ant -logger org.apache.tools.ant.listener.MailLogger
>-DMailLogger.properties.file=maillogger.properties
>
>Perhaps MailLogger.properties.file isn't set in your build?
>
>HTH
>
>Kajsa Anderson
>
>-----Original Message-----
>From: mcampelo@webcpd.com [mailto:mcampelo@webcpd.com]
>Sent: Monday, January 19, 2004 11:02 AM
>To: Ant Users List
>Subject: RE: MailLogger
>
>
>Luis,
>
>thanks for your answer.
>
>Unfortunately, it's still not working!
>
>I created a file named MailLogger.properties with the following content:
>
>-- x --
>MailLogger.mailhost=10.10.10.10
>MailLogger.from=marco.campelo@vivo.com.br
>MailLogger.replyto=marco.campelo@vivo.com.br
>MailLogger.failure.to=marco.campelo@vivo.com.br
>MailLogger.success.to=marco.campelo@vivo.com.br
>MailLogger.failure.subject=Warning: Integration build has failed
>MailLogger.success.subject=Info: Integration build has succeed
>-- x --
>
>This file is in the same directory of build.xml.
>
>So I called ant -verbose -logger org.apache.tools.ant.listener.MailLogger.
>
>I'm trying to use the option -verbose but I can't see any debug information
>during the execution! What's wrong?
>
>C:\eclipse\workspace\ServiceRouter>ant -verbose -logger
>org.apache.tools.ant.listener.MailLogger
>Buildfile: build.xml
>
>init:
>
>compileFramework:
>
>compileServiceRouter:
>
>dist:
>
>buildServiceRouter:
>
>BUILD SUCCESSFUL
>Total time: 8 seconds
>
>Regards,
>Marco Campelo
>

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


Mime
View raw message