From: Mike P. <Mike.Pettypiece@EMBARCADERO.COM> - 2005-07-20 20:41:49
|
Hi Robert, I don't know if you've had a chance to create a patch yet but I've attached the one that I have working. It is now detecting the number of modified objects correctly using "ccm task". Cheers, Mike -----Original Message----- From: Robert Smith [mailto:rjm...@gm...]=20 Sent: July 19, 2005 4:34 PM To: cru...@li... Cc: Mike Pettypiece Subject: Re: [Cruisecontrol-devel] CM Synergy and CruiseControl I checked the code in CVS and the DCM (instance) value fix was not added to the getModifiedObjects() method in CMSynergy. Most likely my own fault. I'll go ahead and create the patch using "ccm task". Cheers, Robert On 7/19/05, Robert Smith <rjm...@gm...> wrote: > Hi Mike, >=20 > 'probtrac' is a generic instance value used by CM Synergy for tasks > and problems (it's not tied to Change Synergy). >=20 > Are you using DCM? If so, you'll probably need to use the "instance" > attribute of <cmsynergy>. Please have a look at the comments attached > to the Wiki page > (http://confluence.public.thoughtworks.org/display/CC/CruiseControlWithC MSynergy). >=20 > That said, using "ccm task" rather than a query might be a safer way > to go. Strange that I wouldn't have used it. I wonder if I had a > reason that I can't remember???? >=20 > If you have the patch ready to go (and have tested it), by all means, > feel free to post it here. >=20 > Many thanks, >=20 > Robert >=20 >=20 > On 7/19/05, Mike Pettypiece <Mik...@em...> wrote: > > > > > > Hi all, > > > > > > > > I've been using CruiseControl 2.2.2.rc1 and CM Synergy with Robert Smith's > > latest changes. Everything works fine except that even though new tasks are > > detected, no object changes are found. Since no object changes are found a > > reconfigure is not run, which means that none of the new changes are > > incorporated into the build. > > > > > > > > I traced the problem to CMSynergy.getModifiedObjects(). In that method the > > following command (abbreviated for clarity) is run: > > > > > > > > ccm query -u > > is_associated_object_of('task<tasknumber>~1:task:probtrac') > > > > > > > > This query does not return any results in our environment. I've talked with > > my build manager and he said that because we are not using probtrac (which > > is apparently Telelogic's defect tracking software) the above command will > > always fail. He suggested that the command could be: > > > > > > > > ccm task -show objects <tasknumber> > > > > > > > > I can create a patch but I wanted to get input (especially from Robert) on > > any adverse impact this would have. > > > > > > > > Cheers, > > > > > > > > Mike > |