Hi Prad,

I think you are right on the money (I am not a Clearcase user myself).

The problem with Clearcase diffs, is they don't provide repository
information in the diff file itself unlike other SCMs, so I think you
are right, everyone will need the same path for the snapshot view.

Cheers,
David

On Mon, May 10, 2010 at 4:54 PM, PRADEEP NAIR
<[email protected]> wrote:
> Hi
>
> I am now able to get Codestriker working from my local PC where I've 
> installed Codestriker and also have the clearcase snapshot view location.
>
> To clarify this, I have in my Codestriker.conf, the repository definition as 
> follows
>
> 'clearcase:D:\\Projects\\cfu_Stream3_Templates_2_int\\eDeveloper', and the 
> D:\Projects\cfu_Stream3_Templates_2_int\eDeveloper is in this system.
>
> So all is good if I create the diff file from this PC and I also get the 
> parallel view. Just a sample from my diff file is as follows
>
> ********************************
> <<< file 1: 
> D:\Projects\cfu_Stream3_Templates_2_int\eDeveloper\eDev_Source\eDeveloperWeb\WebContent\WEB-INF\conf\runtime\edeveloper.properties.dev@@\main\eDev_5_Integration\Stream1_Integration\Stream2_Integration\Stream3_Templates_Integration\9
>>>> file 2: 
>>>> eDeveloper\eDev_Source\eDeveloperWeb\WebContent\WEB-INF\conf\runtime\edeveloper.properties.dev
> ********************************
> -----[13-18 changed to 13-25]-----
>
>
> But if my colleague create the diff file, the parallel view is not working. 
> Also her diff file has the file location to her snapshot view which is 
> different to what's in codestriker.conf
>
> For e.g her diff file's got the following lines (as a sample)
>
> ********************************
> <<< file 1: 
> D:\Project\fya_Stream3_Templates\eDeveloper\eDev_Source\eDeveloperTestSuite\.classpath@@\main\eDev_5_Integration\fya_Stream3_Templates\0
>>>> file 2: eDeveloper\eDev_Source\eDeveloperTestSuite\.classpath
> ********************************
> -----[deleted 3-5 after 2]-----
>
> So my understanding of what's happening here is that, because Codestriker 
> cannot match the file location between the diff file, and shared snapshot 
> view defined in Codestriker.conf, it just cannot load the file from 
> repository and the parallel view fails.
>
> My question is how can I resolve this problem?
>
> Is there a limitation that all developers should have the same path location 
> as what's defined in the Codestriker.conf.
>
> For e.g in this scenario above all developers should have snapshot view 
> starting at this location (D:\Projects\cfu_Stream3_Templates_2_int\eDeveloper)
>
> The only thing that's stopping me to get Codestriker fully functional is this 
> issue. If anyone can throw some light on it, it will be greatly appreciated.
>
> Thanking you all
>
> Prad
>
>
>>>> <[email protected]> 6/05/10 10:05 pm >>>
> Send Codestriker-user mailing list submissions to
>        [email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        https://lists.sourceforge.net/lists/listinfo/codestriker-user
> or, via email, send a message with subject or body 'help' to
>        [email protected]
>
> You can reach the person managing the list at
>        [email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Codestriker-user digest..."
>
>
> Today's Topics:
>
>   1. Re: Codestriker problem with Clearcase (David Sitsky)
>   2. Re: Codestriker problem with Clearcase (David Sitsky)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 6 May 2010 19:43:26 +1000
> From: David Sitsky <[email protected]>
> Subject: Re: [Codestriker-user] Codestriker problem with Clearcase
> To: PRADEEP NAIR <[email protected]>
> Cc: [email protected]
> Message-ID:
>        <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi Prad,
>
> One thing worth checking is the user running your apache has
> permission to access your clearcase repository, and can run clearcase
> commands.
>
> As an experiment, you should be able to change the user running as
> apache to a "normal" user which has clearcase access.
>
> Cheers,
> David
>
> On Thu, May 6, 2010 at 3:30 PM, PRADEEP NAIR
> <[email protected]> wrote:
>> Hi there
>>
>> I'm using v1.9.10 of Codestriker in Windows XP environment with MySQL 
>> database & Apache web server.
>>
>> The version control software we use is Clearcase and unfortunately I have 
>> problems here.
>>
>> I have created a topic which is a diff file generated by cleartool diff. 
>> Then from the topic, I've added a comment. On opening the comment tag, if I 
>> click on Parallel on any specific comment, it just opens a new browser 
>> window and I get the following error
>>
>> Software error:
>>
>> Can't open(GLOB(0x2642ed4), <, 
>> D:\var\temp\BBk5Xsz5sZ\Temp_YouCanDeleteThis): No such file or directory at 
>> D:/Apps/codestriker-1.9.10/lib/Codestriker/Action/ViewTopicFile.pm line 66
>>
>> For help, please send mail to the webmaster ([email protected]), giving this 
>> error message and the time and date of the error.
>>
>>
>> I did look at my Codestriker configuration file to check if the Clearcase 
>> repository location and it looks good to me. But for some reason it doesn't 
>> work. Is there anything else that I need to be doing to get it correct?
>>
>> I checked the apache error.log file and all I could see relevant to this 
>> problem are the following lines
>>
>> [Thu May 06 15:25:14 2010] [error] [client 127.0.0.1] [Thu May ?6 15:25:14 
>> 2010] codestriker.pl: Argument 
>> "\\\\main\\\\eDev_5_Integration\\\\Stream1_Integration\\\\Stream2..." isn't 
>> numeric in numeric eq (==) at 
>> D:/Apps/codestriker-1.9.10/lib/Codestriker/Action/ViewTopicFile.pm line 60., 
>> referer: 
>> http://localhost/codestriker/codestriker.pl?action=list_comments&topic=1080017
>> [Thu May 06 15:25:14 2010] [error] [client 127.0.0.1] [Thu May ?6 15:25:14 
>> 2010] codestriker.pl: Can't open(GLOB(0x2642ed4), <, 
>> D:\\var\\temp\\BBk5Xsz5sZ\\Temp_YouCanDeleteThis): No such file or directory 
>> at D:/Apps/codestriker-1.9.10/lib/Codestriker/Action/ViewTopicFile.pm line 
>> 66, referer: 
>> http://localhost/codestriker/codestriker.pl?action=list_comments&topic=1080017
>>
>> My repository configuration in codestriker.conf file is attached
>>
>> Can someone suggest me what's wrong here.
>>
>> Any help would be really grateful.
>>
>> Thanks
>> Prad
>>
>>
>>
>>
>> Dams + Recycling + Desalination + Water efficiency = Water 4 Life.
>> -----------------------------------------
>> NOTICE: This email is confidential. If you are not the nominated recipient, 
>> please immediately delete this email, destroy all copies and inform the 
>> sender. Sydney Water Corporation (Sydney Water) prohibits the unauthorised 
>> copying or distribution of this email. This email does not necessarily 
>> express the views of Sydney Water. Sydney Water does not warrant nor 
>> guarantee that this email communication is free from errors, virus, 
>> interception or interference.
>> -----------------------------------------
>>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Thu, 6 May 2010 19:50:29 +1000
> From: David Sitsky <[email protected]>
> Subject: Re: [Codestriker-user] Codestriker problem with Clearcase
> To: PRADEEP NAIR <[email protected]>
> Cc: [email protected]
> Message-ID:
>        <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi Prad,
>
> The other thing to try is to open up Repository\ClearCaseSnapshot.pm,
> go to line 68 and comment out this line (put a hash at the start of
> the line):
>
>    close <$input_fh>;
>
> Let me know if this works - thanks.
>
> Cheers,
> David
>
> On Thu, May 6, 2010 at 7:43 PM, David Sitsky <[email protected]> wrote:
>> Hi Prad,
>>
>> One thing worth checking is the user running your apache has
>> permission to access your clearcase repository, and can run clearcase
>> commands.
>>
>> As an experiment, you should be able to change the user running as
>> apache to a "normal" user which has clearcase access.
>>
>> Cheers,
>> David
>>
>> On Thu, May 6, 2010 at 3:30 PM, PRADEEP NAIR
>> <[email protected]> wrote:
>>> Hi there
>>>
>>> I'm using v1.9.10 of Codestriker in Windows XP environment with MySQL 
>>> database & Apache web server.
>>>
>>> The version control software we use is Clearcase and unfortunately I have 
>>> problems here.
>>>
>>> I have created a topic which is a diff file generated by cleartool diff. 
>>> Then from the topic, I've added a comment. On opening the comment tag, if I 
>>> click on Parallel on any specific comment, it just opens a new browser 
>>> window and I get the following error
>>>
>>> Software error:
>>>
>>> Can't open(GLOB(0x2642ed4), <, 
>>> D:\var\temp\BBk5Xsz5sZ\Temp_YouCanDeleteThis): No such file or directory at 
>>> D:/Apps/codestriker-1.9.10/lib/Codestriker/Action/ViewTopicFile.pm line 66
>>>
>>> For help, please send mail to the webmaster ([email protected]), giving this 
>>> error message and the time and date of the error.
>>>
>>>
>>> I did look at my Codestriker configuration file to check if the Clearcase 
>>> repository location and it looks good to me. But for some reason it doesn't 
>>> work. Is there anything else that I need to be doing to get it correct?
>>>
>>> I checked the apache error.log file and all I could see relevant to this 
>>> problem are the following lines
>>>
>>> [Thu May 06 15:25:14 2010] [error] [client 127.0.0.1] [Thu May ?6 15:25:14 
>>> 2010] codestriker.pl: Argument 
>>> "\\\\main\\\\eDev_5_Integration\\\\Stream1_Integration\\\\Stream2..." isn't 
>>> numeric in numeric eq (==) at 
>>> D:/Apps/codestriker-1.9.10/lib/Codestriker/Action/ViewTopicFile.pm line 
>>> 60., referer: 
>>> http://localhost/codestriker/codestriker.pl?action=list_comments&topic=1080017
>>> [Thu May 06 15:25:14 2010] [error] [client 127.0.0.1] [Thu May ?6 15:25:14 
>>> 2010] codestriker.pl: Can't open(GLOB(0x2642ed4), <, 
>>> D:\\var\\temp\\BBk5Xsz5sZ\\Temp_YouCanDeleteThis): No such file or 
>>> directory at 
>>> D:/Apps/codestriker-1.9.10/lib/Codestriker/Action/ViewTopicFile.pm line 66, 
>>> referer: 
>>> http://localhost/codestriker/codestriker.pl?action=list_comments&topic=1080017
>>>
>>> My repository configuration in codestriker.conf file is attached
>>>
>>> Can someone suggest me what's wrong here.
>>>
>>> Any help would be really grateful.
>>>
>>> Thanks
>>> Prad
>>>
>>>
>>>
>>>
>>> Dams + Recycling + Desalination + Water efficiency = Water 4 Life.
>>> -----------------------------------------
>>> NOTICE: This email is confidential. If you are not the nominated recipient, 
>>> please immediately delete this email, destroy all copies and inform the 
>>> sender. Sydney Water Corporation (Sydney Water) prohibits the unauthorised 
>>> copying or distribution of this email. This email does not necessarily 
>>> express the views of Sydney Water. Sydney Water does not warrant nor 
>>> guarantee that this email communication is free from errors, virus, 
>>> interception or interference.
>>> -----------------------------------------
>>>
>>
>
>
>
> ------------------------------
>
> ------------------------------------------------------------------------------
>
>
> ------------------------------
>
> _______________________________________________
> Codestriker-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/codestriker-user
>
>
> End of Codestriker-user Digest, Vol 40, Issue 2
> ***********************************************
>
>
> Dams + Recycling + Desalination + Water efficiency = Water 4 Life.
> -----------------------------------------
> NOTICE: This email is confidential. If you are not the nominated recipient, 
> please immediately delete this email, destroy all copies and inform the 
> sender. Sydney Water Corporation (Sydney Water) prohibits the unauthorised 
> copying or distribution of this email. This email does not necessarily 
> express the views of Sydney Water. Sydney Water does not warrant nor 
> guarantee that this email communication is free from errors, virus, 
> interception or interference.
> -----------------------------------------
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Codestriker-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/codestriker-user
>

------------------------------------------------------------------------------

_______________________________________________
Codestriker-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/codestriker-user

Reply via email to