Bug 269580 - [launching] Eclipse Doesn't Respect "Resource -> New text file line delimiter" When Creating/Updating Launch-Configuration Files
Summary: [launching] Eclipse Doesn't Respect "Resource -> New text file line delimiter...
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.4.2   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-20 17:30 EDT by Philip Koester CLA
Modified: 2023-12-22 04:42 EST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philip Koester CLA 2009-03-20 17:30:04 EDT
I have Eclipse running under Windows Vista and, in a virtual box (but this shouldn't matter), at the same time under Ubuntu.

Under Windows, launch-configuration files are created and sometimes automatically updated so they have the Windows line delimiter "\r\n", and under Ubuntu, the same happens, only that the line delimiter here is "\n". This might seem a minor nuisance, but for me it is a major nuisance, because every time I fire up Eclipse under Windows, the Subclipse plug-in---correctly, from its point of view---tells me I have modified launch-configuration files, which in fact I haven't, but Eclipse has.

Suggested cure: Eclipse should take the work-space-global or project-specific setting for text-file line delimiters into account when managing launch-config files in order to reduce hassle like this when launch-configuration files are checked in into an SCM and used on different platforms. This would make my days a little brighter, thank you.
Comment 1 MacSriver CLA 2009-10-31 03:46:09 EDT
So is there any update about a fix?

Maybe may bug report was unnecessarily complicated: The best solution would be to use Unix line delimiters ("\n") for launch-configuration files so they are identical on all platforms.

I'd be really glad to see this fixed.
Comment 2 Dani Megert CLA 2013-12-19 08:12:17 EST
*** Bug 424352 has been marked as a duplicate of this bug. ***
Comment 3 Eclipse Genie CLA 2020-01-08 13:22:02 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 4 Sarika Sinha CLA 2020-01-10 01:04:10 EST
Mac considers  "\r" as line separator.
Comment 5 Eclipse Genie CLA 2021-12-31 05:19:07 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 6 Ed Willink CLA 2021-12-31 08:15:51 EST
Far from stale. It has a duplicate and is an ongoing nuisance causing file corruptions that confuse GIT commits of changes.
Comment 7 Eclipse Genie CLA 2023-12-22 03:05:43 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 8 Ed Willink CLA 2023-12-22 04:42:28 EST
Still far from stale and not yet triaged by a relecant committer. It has a duplicate and is an ongoing nuisance causing file corruptions that confuse GIT commits of changes.