Thanks Ruben for the tip, i added a script in my build which outputs the XML in the required format (with 'fake' changes containing names i want to put in cc), and added a Modification Reader Task in the ccnet project. It works fine.
Then i have a little side effect, from the ccnet feature about 'failure users'. The default ccnet behaviour where users checkin breaking changes, they are kept in cc of subsequent mails for this build project. i'd like to disable this behaviour for this project (delete the failure user list each time) - i wonder if it's possible or not ? same question for the project state : i'd prefer to have a success/fail status (and not a fixed/broken regardng previous builds) , as this project serves multiple unrelated purposes ... is it something which can be configurated on a singlee ccnet project , or into ccnet general setting (i can run a different instance of ccnet for this project) , or just out of scope ? btw : i've observations regarding the documentation of Modification Writer Task : The sample output shows this format : (in ccnet 1.5 CTP doc) <ModifiedTime>2006-11-22T11:11:00-0500</ModifiedTime> in the online doc the update shows this : <!-- The change timestamp, in yyyy-mm-ddThh:mm:ss.nnnn-hhmm format --> i'm using the CTP version , and this format can't be parsed (i see an exception in ccnet logs) ), i turned it to : yyyy-mm-dd hh:mm:ss.nnnn to solve the issue. (haven't tryed on newer ccnet version if the format was different) I also noticed that i could just ignore this field , and the date is set by default to 0001-01-01 00:00:00 With some try & error i found that i could remove some fields form the XML , it would be nice if the doc could list the mandatory & optional fields (or maybe they're all optional ?) /Chris On Tue, Jan 19, 2010 at 8:36 AM, Ruben Willems <[email protected]>wrote: > Hi > > if you use the modification reader task, it should work. > > > http://confluence.public.thoughtworks.org/display/CCNET/Modification+Reader+Task > but there seems to be a bug in the example on the wiki, so use your offline > docs for an example > > also read the modifcication writer > > http://confluence.public.thoughtworks.org/display/CCNET/Modification+Writer+Task > this has an example of the xml format you should use > > > > with kind regards > Ruben Willems > > > On Mon, Jan 18, 2010 at 5:51 PM, Christophe Planty < > [email protected]> wrote: > >> >> Hi, >> >> i'd like to know if it's possible (on ccnet 1.5 CTP) to dynamically add >> mail adresses to the mail publisher. (like modifying the 'users' field or >> CCNetModifyingUsers ). >> >> Usually the CCNetModifyingUsers is filled by the source control plugin, >> but there I use a different kind of build , with a null source control and >> the list of modifying users is provided into an xml file, parsed only after >> the build is triggered - from within the build script. >> >> any idea/pointer on how I could update the list of mail >> adresses dynamically ? >> >> /Chris >> >> > >
