From: Robert P. <rp...@ne...> - 2003-08-21 05:12:47
|
Debug output? Where does that go in config.xml? I don't see it listed in configxml.html. =20 Thanks! =20 Robert =20 -----Original Message----- From: Jeffrey Fredrick [mailto:JFr...@al...]=20 Sent: Wednesday, August 20, 2003 3:45 PM To: Robert Pearse; cru...@li...; Cru...@li... Subject: RE: [Cruisecontrol-devel] Changes to EmailPublisher.java =20 =20 you added that to EmailPublisher? what would super.createSubject resolve to? =20 you might try turning debug output on to see if shouldSend is returning false. =20 Jtf -----Original Message----- From: Robert Pearse [mailto:rp...@ne...] Sent: Wednesday, August 20, 2003 1:24 PM To: cru...@li...; Cru...@li... Subject: [Cruisecontrol-devel] Changes to EmailPublisher.java We've added the following code to EmailPublisher.java to replace the existing createSubject(). =20 protected String createSubject(XMLLogHelper xmlLogHelper) throws CruiseControlException { String result =3D super.createSubject(xmlLogHelper) + " ( "; Set userNames =3D new HashSet(); for (Iterator i=3DxmlLogHelper.getModifications().iterator(); i.hasNext(); ) { Modification m =3D (Modification)i.next(); if (userNames.add(m.userName)) =09 result+=3Di.next().toString()+' '; } result+=3D')'; return result; } =20 Normally, after a build, I get this in the logs: =20 2003-08-19 15:25:19,588 [BuildQueueThread] INFO Project - Project nextjet-current: publishing build results 2003-08-19 15:25:24,673 [BuildQueueThread] INFO EmailPublisher - Sending mail notifications. 2003-08-19 15:25:25,810 [BuildQueueThread] INFO Project - Project nextjet-current: idle =20 But, now I'm getting this: =20 2003-08-20 14:35:41,979 [BuildQueueThread] INFO Project - Project nextjet-current: publishing build results 2003-08-20 14:35:41,982 [BuildQueueThread] INFO Project - Project nextjet-current: idle =20 Looks like EmailPublisher has disappeared. Anybody have an idea why I'm getting nothing here, not even a stack trace? =20 Thanks, =20 Robert |