ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eddie Bernard <ebern...@digitalthink.com>
Subject RE: Build Monitor -- SUCCESS!!
Date Mon, 25 Jun 2001 23:05:14 GMT
Afz-

To set up the BuildMonitor listener you'll need to do the following:

- Compile BuildMonitor.java
- Place the resultant BuildMonitor.class and the monitor.properties in the
same directory where build.xml resides.
- Make sure that you have the Sun's JavaMail (mail.jar) and Sun's JAF
(activation.jar).  (I placed these in the ant/lib directory.

To invoke ant with the BuildMonitor listener:

   ant -listener BuildMonitor -logfile build.log

Your mileage may vary, but I was able to successfully get this to work.


Cheers!
Eddie

-----Original Message-----
From: Salman, Afzal [mailto:Afzal.Salman@WorldChain.com]
Sent: Monday, June 25, 2001 3:47 PM
To: 'ant-user@jakarta.apache.org'
Subject: RE: Build Monitor -- SUCCESS!!


Eddie, 

I am very much interested in finding out how email notifications work in
Ant.  Could you please let me know which ant function did you use.  How does
it work? 

Thanks.

Afz

-----Original Message-----
From: Eddie Bernard [mailto:ebernard@digitalthink.com]
Sent: Tuesday, May 22, 2001 5:46 PM
To: 'ant-user@jakarta.apache.org'
Subject: Build Monitor -- SUCCESS!!


Success!!  I finally figured out what the problem was.

I'm using Sun's JavaMail 1.2 and it requires JAF.  Of course, this is
explained in the release notes for JavaMail but who has time to read them ;)

Anyway, you need to place the JAF jar (activation.jar) somewhere in your
classpath to make the e-mail notification work.

This, of course, presuming that you're also using Sun JavaMail 1.2....



-----Original Message-----
From: David Scassa [mailto:dscassa@journee.com]
Sent: Tuesday, May 22, 2001 4:39 PM
To: Eddie Bernard
Subject: hmm.
Importance: High


The ant mailing list takes way to long to distribute emails. Must be a whole
lot of people on the receiving end. Just to let you know. I was able to
instantiate the BuildMonitor by placing both the buildmonitor.class and the
monitor.properties in the root of my project. I then added the root
directory to my classpath and voila... It no longer fails.. Of course, it
doesn't send emails out either. But, at least I'm a step closer.

Dave

-------------------------------------------------------------------------- 
Note:  The information contained in this message may be privileged and
confidential and protected from disclosure. If the reader of this message is
not the intended recipient, or an employee or agent responsible for
delivering this message to the intended recipient, you are hereby notified
that any dissemination, distribution or copying of this communication is
strictly prohibited. If you have received this communication in error,
please notify us immediately by replying to the message and deleting it from
your computer. Thank you. 
--------------------------------------------------------------------------

Mime
View raw message