Thank you for the response Alex.
On 15 Jan, 12:16, Alex <[email protected]> wrote: > Cinnamon, it does not make sense to modify the html publisher, you > found the best solution of just modifying the config which then gets > read into the email publisher. I would say that your first link should > be removed from the docs unless someone more knowledgeable can show a > situation where that actually is the preferred method. > > On Jan 15, 2:55 am, CinnamonDonkey <[email protected]> > wrote: > > > Hi All, > > > I found a much easier solution to this here: > > > http://www.stevetrefethen.com/blog/ModifyingEmailsSentUsingCruiseCont... > > > I would still be interested if someone could describe the above > > process though. > > Cheers, > > Shaun > > > On 14 Jan, 15:42, CinnamonDonkey <[email protected]> > > wrote: > > > > Hi All, > > > > I've found > > > this:http://confluence.public.thoughtworks.org/display/CC/IntegratingCruis... > > > > Where right at the bottom it has a section that hints at modifying the > > > email publisher but I don't know how to derive a class of what? > > > > Clipping... here is what it says: > > > > Customising the Cruise Control HTML Email Publisher' > > > > The easiest aproach to add additional XSLT transforms to the Cruise > > > Control HTML Email Publisher, is to derive your own class from > > > HTMLEMailPublisher and add the aditional cvstagdiff.xsl transformation > > > file to the file list. You then register this new class in your Cruise > > > Control config.xml file and use in in place of the regular HTML Email > > > Publisher. > > > > public class CustomHTMLEmailPublisher extends HTMLEmailPublisher > > > { > > > private String[] newXslFileNames = > > > { > > > "header.xsl", > > > "compile.xsl", > > > "javadoc.xsl", > > > "unittests.xsl", > > > "modifications.xsl", > > > "cvstagdiff.xsl", // New stylesheet > > > "distributables.xsl" > > > }; > > > > public CustomHTMLEmailPublisher() > > > { > > > super(); > > > setXSLFileNames(newXslFileNames); > > > } > > > > } > > > > Now how would one go about doing this? I'm guessing its a C# class? > > > > Cheers, > > > (Almost there!!! Last problem, PLEASE PLEASE HELP) Shaun- Hide quoted > > > text - > > > - Show quoted text -
