Hello,
 
>By default Codestriker topic will show not show the entire file unless you ask for you.
 
Yes, but in the screenshots on the website the topic does show some part of the code surrounding a change. In my case, all I get to see are the lines that actually changed, and that's it.
 
> I assume you are opening up the topic, and pressing the "parallel" button.
 
Yes, that is correct. When I press "parallel", a new window opens which shows the line-numbering of a sizable part of the file under review. Only the changed lines are shown, even though there is line-numbering for the surrounding code (In my example, the change is 7 lines, and I see line-numbers for lines 1-233)
 
> Are you sure the retrieve function is not being called?
 
Who knows. I placed a "print STDERR some message" at the top of the ClearCaseSnapshot::retrieve() function, and the message never shows up in the apache log. Other similar messages I sprinkled around the code do show up in the log.
 
>The function makes an effort to collect any error message and dump it into the window.
 
Nothing shows up in the error log.

Would it help if I provide some screenshots?
 
Thanks for your help!
 
Jeroen
 
 
-----Original Message-----
From: Jason Remillard [mailto:jremillardshop@yahoo.com]
Sent: donderdag 15 december 2005 2:12
To: Bouwens, Jeroen; codestriker-user@lists.sourceforge.net
Subject: Re: [Codestriker-user] ClearCase

Hi,

Hi,

Lets start off with the easy stuff..

By default Codestriker topic will show not show the entire file unless you ask for you. I assume you are opening up the topic, and pressing the "parallel" button. Are you sure the retrieve function is not being called? The function makes an effort to collect any error message and dump it into the window. Lastly, did you check your web server error logs? Codestriker will often dump its error messages into the logs.

Thanks
Jason.

"Bouwens, Jeroen" <jeroen.bouwens@atosorigin.com> wrote:
Hello,

I'm trying to get codestriker to work with ClearCase, and while it more or less works, the review topics only show what's in the diff. As it says in the Codestriker manual:

"if a ClearCase repository has been specified in the Codestriker configuration, it is important that the above commands are run from the top-level directory of the view, so that the full vob pathname information is available within the diff files. This allows Codestriker to retrieve the full contents of files from the vob, so that a reviewer can see the changes applied to an entire file, rather than a small segment."

I have specified a repository in the config file, and verified manually that all versions are available to "cleartool get", yet all I get is this "small segment" the manual mentions. I tried checking what the code does, and it seems that ClearCaseSnapshot::retrieve is never called.

I'd be happy with any ideas of what to try to get this working, since the context of a change in a file is necessary to make a review doable at all.

Thanks in advance,


Jeroen Bouwens
Software Engineer
Atos Origin Technical Automation Veldhoven
De Run 1121, 5503 LB Veldhoven
Building HVO, room 4.01, The Netherlands
email: jeroen.bouwens@atosorigin.com
phone: +31 (40) 258 60 10
fax: +31 (40) 253 73 13



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Codestriker-user mailing list
Codestriker-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/codestriker-user


Yahoo! Shopping
Find Great Deals on Holiday Gifts at Yahoo! Shopping