Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 72346 invoked by uid 500); 22 May 2001 16:09:19 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 72002 invoked from network); 22 May 2001 16:08:57 -0000 Message-ID: <264632F0D885D411916400010263722D4E690F@ZEUS> From: David Scassa To: "'ant-user@jakarta.apache.org'" Subject: FW: Listener: BuildMonitor.class Date: Tue, 22 May 2001 11:00:16 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Here is my cmd string: d:\context>ant -listener BuildMonitor -buildfile autobuild.xml Here is the error that I'm getting: Unable to instantiate listener BuildMonitor --- Nested Exception --- java.lang.NullPointerException at java.lang.Throwable.(Throwable.java:84) at java.lang.Exception.(Exception.java:35) at java.lang.RuntimeException.(RuntimeException.java:39) at java.lang.NullPointerException.(NullPointerException.java:45) at java.io.Reader.(Reader.java:68) at java.io.InputStreamReader.(InputStreamReader.java:88) at java.io.InputStreamReader.(InputStreamReader.java:77) at java.util.Properties.load(Properties.java(Compiled Code)) at BuildMonitor.(BuildMonitor.java:24) at java.lang.Class.newInstance0(Native Method) at java.lang.Class.newInstance(Class.java:254) at org.apache.tools.ant.Main.addBuildListeners(Main.java:445) at org.apache.tools.ant.Main.runBuild(Main.java:384) at org.apache.tools.ant.Main.main(Main.java:149) Total time: 0 seconds -----Original Message----- From: David Scassa Sent: Tuesday, May 22, 2001 10:46 AM To: 'ant-user@jakarta.apache.org' 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 monitor.properties 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 wrong. Dave