What does CC.Net use, with respect to the External Source Control results, to decide that there have been modifications?
Consider the following block: <?xml version="1.0" encoding="utf-8"?> <ArrayOfModification xmlns:xsi="http://www.w3.org/2001/XMLSchema- instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Modification> <ChangeNumber>12245</ChangeNumber> <Comment>New Project for testing stuff</Comment> <EmailAddress>[email protected]</EmailAddress> <FileName>AssemblyInfo.cs</FileName> <FolderName>Dev\Server\Interface\Properties\</FolderName> <ModifiedTime>2006-11-22T11:11:00-0500</ModifiedTime> <Type>add</Type> <UserName>joe_user</UserName> <Url>http://www.example.com/index.html</Url> <Version>5</Version> </Modification> </ArrayOfModification> How many of these parameters are needed and what can be faked? Personally I am only interested in the changelist number, comment, username and email address. Everything else is surplus to requirements for what I am doing (trying to ensure that every changelist in perforce is built). Cheers, Shaun On 29 Jan, 12:17, CinnamonDonkey <[email protected]> wrote: > Hi Craig & Sammi, > > Thank you for the reply. > > It looks like the Gremlins are on holiday today because this magically > started working :-) (It's probably a coder error on my behalf > somewhere along the line but I don't know where). > > Does (10,10) mean Line 10, Column 10? > > Shaun > > On 28 Jan, 18:47, "Craig & Sammi Sutherland" > > <[email protected]> wrote: > > Hi Shaun, > > > I've had a quick look at the wiki this morning and compared it to the code - > > it appears to up-to-date. > > > Looking at the code and your error message, it is saying there appears to be > > a problem with the XML file. The (10, 10) is the location of the error, but > > I've tried to find the error and it looks ok. > > > Craig > > > -----Original Message----- > > From: [email protected] [mailto:[email protected]] On > > > Behalf Of CinnamonDonkey > > Sent: Wednesday, 28 January 2009 10:24 p.m. > > To: ccnet-user > > Subject: [ccnet-user] External Source Control - Modifications Format > > > Hi, > > > Can someone please tell me if the Wiki documentation for "External > > Source Control" is up to date? > > >http://confluence.public.thoughtworks.org/display/CCNET/External+Sour... > > rol > > > If I create an app that simply writes to STDIO the following (taken > > from the modification writer example): > > > <?xml version="1.0" encoding="utf-8"?> > > <ArrayOfModification xmlns:xsi="http://www.w3.org/2001/XMLSchema- > > instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> > > <Modification> > > <ChangeNumber>12245</ChangeNumber> > > <Comment>New Project for testing stuff</Comment> > > <EmailAddress>[email protected]</EmailAddress> > > <FileName>AssemblyInfo.cs</FileName> > > <FolderName>Dev\Server\Interface\Properties\</FolderName> > > <ModifiedTime>2006-11-22T11:11:00-0500</ModifiedTime> > > <Type>add</Type> > > <UserName>joe_user</UserName> > > <Url>http://www.example.com/index.html</Url> > > <Version>5</Version> > > </Modification> > > </ArrayOfModification> > > > The server log shows the error: INTERNAL ERROR: There is an error in > > XML document (10, 10). > > > What does (10,10) mean? > > > I'm going to try adding the modification writer to my config and see > > what it generates. > > > Regards, > > Shaun
