Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » LF CVS-diffs on MS Windows
LF CVS-diffs on MS Windows [message #84655] Sat, 28 June 2003 13:42
Eclipse UserFriend
Originally posted by: md94-pst.nada.kth.se

Hi.

I have searched in the news-archive, but I apology if I have missed
something.

I am using Eclipse 2.1.0 (build 200303272130) on MS Win2k with Sun JDK
1.4.1. To heat up my life a little I run CVSNT 1.11.1.3. Since I
distribute to other platforms, I have chosen to use LF (and not CRLF) as
new-line character in the repository.

To avoid "file-wide" diffs I would like to use LF in the Eclipse editor
as well.

In the "Eclipse team cvs 2.1 faq", dated March 27, 2003
at "Windows Issues", the start-up flags "-vmargs -Dline.separator=\n"
are suggested. Together with the nice comment "don't no if there any ill
side affects". I gave it a try. But then Eclipse no longer has any
projects ("empty" each time). Restarting Eclipse without the flags does
not bring them back, need to re-create them (no prob since it detects
the files anyway). Probably some configuration being "damaged" at
reading or writing with just LF on MS Windows.

Another idea is to run the ant-task "fixcrlf" on the files before they
are commited. But the Eclipse editor saves them anyway with CRLF.

I am aware that CVS is clever enough to detect what OS the client is
using and convert the new-lines correctly at commit/update. Even if I
dislike it, I might use CRLF at the cvs-client. But I have failed to
find out how to make Eclipse ignore whitespaces when running diffs.

Best regards
Per Steneskog
Previous Topic:Controlling a jboss instance with jboss-ide plugin
Next Topic:output of the build
Goto Forum:
  


Current Time: Sat May 10 06:18:51 EDT 2025

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

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

Back to the top