From: <exo...@us...> - 2003-10-15 14:15:20
|
Update of /cvsroot/ccnet/ccnet/project/core/publishers In directory sc8-pr-cvs1:/tmp/cvs-serv32093/project/core/publishers Modified Files: EmailPublisher.cs ProjectStartPublisher.cs Log Message: even more bug fixes for vss regarding DateTime regionalisation added code related to working with generic workflows fixed Dashboard to work with new SiteMesh dll Index: EmailPublisher.cs =================================================================== RCS file: /cvsroot/ccnet/ccnet/project/core/publishers/EmailPublisher.cs,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** EmailPublisher.cs 1 Oct 2003 09:07:47 -0000 1.6 --- EmailPublisher.cs 15 Oct 2003 14:14:34 -0000 1.7 *************** *** 30,35 **** bool _includeDetails = false; - XmlLogPublisher logPublisher; - #endregion --- 30,33 ---- *************** *** 113,128 **** } - if (project!=null) - { - foreach (PublisherBase publisher in project.Publishers) - { - if (publisher is XmlLogPublisher) - { - logPublisher = (XmlLogPublisher)publisher; - break; - } - } - } - string to = CreateRecipientList(result); string subject = CreateSubject(result); --- 111,114 ---- *************** *** 221,233 **** StringWriter buffer = new StringWriter(); XmlTextWriter writer = new XmlTextWriter(buffer); ! if (logPublisher != null) ! { ! logPublisher.Write(result, writer); ! } ! else ! { ! // no log publisher has been set -- create a new one ! new XmlLogPublisher().Write(result, writer); ! } writer.Close(); --- 207,211 ---- StringWriter buffer = new StringWriter(); XmlTextWriter writer = new XmlTextWriter(buffer); ! new XmlLogPublisher().Write(result, writer); writer.Close(); Index: ProjectStartPublisher.cs =================================================================== RCS file: /cvsroot/ccnet/ccnet/project/core/publishers/ProjectStartPublisher.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ProjectStartPublisher.cs 21 Sep 2003 15:28:17 -0000 1.1 --- ProjectStartPublisher.cs 15 Oct 2003 14:14:34 -0000 1.2 *************** *** 24,28 **** private Exception _ex; ! public override void Publish(object source, IntegrationResult result) { AsyncCallback cb = new AsyncCallback(FinishedCallback); --- 24,28 ---- private Exception _ex; ! public override void PublishIntegrationResults(IProject project, IntegrationResult result) { AsyncCallback cb = new AsyncCallback(FinishedCallback); *************** *** 37,41 **** { ICruiseManager manager = GetRemoteCruiseManager(); ! manager.Run(Project, new Schedule(0, 1)); } catch (Exception ex) --- 37,41 ---- { ICruiseManager manager = GetRemoteCruiseManager(); ! // manager.Run(Project, new Schedule(0, 1)); } catch (Exception ex) |