Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » LF CR problem with clearcase
LF CR problem with clearcase [message #84777] Wed, 29 October 2003 06:38 Go to next message
Eclipse UserFriend
Originally posted by: hxbx.gmx.net

Hallo,

I use rational clear case in a large project with
eclipse 2.1 and CDT 1.1 and windows 2000.

Some other people in the project use other editors like
ms visual studio or crisp.

If we work on a dynamical view of clearcase evrything works fine.

If we work with the same file on a snapshot view eclipse or clear case (?)
shredders my file.

In the dynamical view is the end of a line signs by 0x0d 0x0a.
If I check in this file in clear case and update the snapshot view
the file looks terrible.
The signs for the end of line are changed and now there are 0x0d 0x0d 0x0a.
Eclipse and CDT show this fine but all other editors look damaged.

I use Eclipse with the default settings.

Any idea?

tanks

harald
Re: LF CR problem with clearcase [message #84792 is a reply to message #84777] Wed, 29 October 2003 09:50 Go to previous message
Laca is currently offline LacaFriend
Messages: 6
Registered: July 2009
Junior Member
Hi Harald,

It seems to me that in your dynamic view the 'text mode' is set to Unix,
while in your snapshot view the 'text mode' is set to Dos/Windows. In
this case ClearCase tries to convert from the Unix style end-of-line
(0x0a) to the Dos/Windows style (0x0d 0x0a) in your snapshot view. As
your editors running on Windows save the files with the Dos/Windows
end-of-line characters (in the dynamic view), they are stored as such in
ClearCase. When you update your snapshot view, ClearCase will try to
convert to the Dos/Windows format, so it adds an extra 0x0d.
I think you should stick to the Unix 'text mode' in both of your views
to get rid of this problem.

Hope this helps!

Laca

harald wrote:
> Hallo,
>
> I use rational clear case in a large project with
> eclipse 2.1 and CDT 1.1 and windows 2000.
>
> Some other people in the project use other editors like
> ms visual studio or crisp.
>
> If we work on a dynamical view of clearcase evrything works fine.
>
> If we work with the same file on a snapshot view eclipse or clear case (?)
> shredders my file.
>
> In the dynamical view is the end of a line signs by 0x0d 0x0a.
> If I check in this file in clear case and update the snapshot view
> the file looks terrible.
> The signs for the end of line are changed and now there are 0x0d 0x0d 0x0a.
> Eclipse and CDT show this fine but all other editors look damaged.
>
> I use Eclipse with the default settings.
>
> Any idea?
>
> tanks
>
> harald
>
Previous Topic:LF CR problem with clearcase
Next Topic:Debugging problem
Goto Forum:
  


Current Time: Thu Dec 26 14:17:44 GMT 2024

Powered by FUDForum. Page generated in 0.03099 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top