ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eddie Bernard <>
Subject RE: Listener: BuildMonitor.class
Date Tue, 22 May 2001 21:19:42 GMT
I had the exact problem recently and FINALLY got it work -- well almost, it
still doesn't send e-mail.

Nevertheless, I did get it to work by adding the file in
the same path as the BuildMonitor.class file.  In fact, I created a jar file
and added it to the ant/lib directory.

This seems like the only way I was able to make it work.  Of course, your
mileage may vary.  Then again, I don't think this was the "right" way to do
this.  Anyone else have any ideas?

-----Original Message-----
From: David Scassa []
Sent: Tuesday, May 22, 2001 9:00 AM
To: ''
Subject: FW: Listener: BuildMonitor.class

Here is my cmd string: d:\context>ant -listener BuildMonitor -buildfile

Here is the error that I'm getting:

Unable to instantiate listener BuildMonitor
--- Nested Exception ---
        at java.lang.Throwable.<init>(
        at java.lang.Exception.<init>(
        at java.lang.RuntimeException.<init>(
        at java.util.Properties.load( Code))
        at BuildMonitor.<init>(
        at java.lang.Class.newInstance0(Native Method)
        at java.lang.Class.newInstance(

Total time: 0 seconds

-----Original Message-----
From: David Scassa 
Sent: Tuesday, May 22, 2001 10:46 AM
To: ''
Subject: Listener: BuildMonitor.class

Trying to get the BuildMonitor.class to work.
In order to build this class, I had to download javamail 1.2 and include the
mail.jar in the classpath. I then jar'ed the .class file and added the .jar
file to my path. I then configured the file and placed it
in the directory from which I was working. I've tried to add the properties
file to the jar and just about everywhere else, but no workie.
I was wondering if there is a website with instructions. I've read all of
the instructions I could find in the archive. I'm certainly doing this


View raw message