Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 311978 - Line continuation characters don't work
Summary: Line continuation characters don't work
Status: VERIFIED FIXED
Alias: None
Product: Babel
Classification: Technology
Component: Server (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Babel server inbox CLA
QA Contact:
URL: http://babel.eclipse.org/babel/transl...
Whiteboard:
Keywords:
Depends on:
Blocks: 269608
  Show dependency tree
 
Reported: 2010-05-06 17:10 EDT by Andrew Johnson CLA
Modified: 2018-07-27 10:57 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Johnson CLA 2010-05-06 17:10:40 EDT
Backslash doesn't seem to work to extend values in properties files.

The properties file has
BigDropsQuery.help = Display memory accumulation points in the dominator tree.\n\n\
Displayed are objects where the difference in the retained size of the parent \
and the children is very big. These are places where the memory of many small \
objects is accumulated under one object. The first \"interesting\" dominator \
of the accumulation point is also shown.

but only

BigDropsQuery.help = Display memory accumulation points in the dominator tree.\n\n\

is displayed.
Comment 1 Andrew Johnson CLA 2010-06-25 07:31:37 EDT
I see that other projects do have them working:

http://babel.eclipse.org/babel/translate.php?project=birt&version=2.6.0&file=source/org.apache.derby.core/about.properties

Perhaps this is a CR/LF versus LF line separator problem, or a CVS versus Subversion problem.
Comment 2 Andrew Johnson CLA 2010-07-03 02:04:03 EDT
The problem is shown when files have CR/LF instead of LF at the end of lines.

I changed one file to LF and got the following:

http://babel.eclipse.org/babel/translate.php?project=tools.mat&version=1.0&file=org.eclipse.mat.api/about.properties

Eclipse Memory Analyzer - API feature\n\
\n\
Version: {featureVersion}\n\
Build id: {0}\n\
\n\
Copyright (c) 2008, 2010 SAP AG, IBM Corporation and others.\n\
All rights reserved. This program and the accompanying materials\n\
are made available under the terms of the Eclipse Public License v1.0\n\
which accompanies this distribution, and is available at\n\
http://www.eclipse.org/legal/epl-v10.html

Other unchanged files still don't work:
http://babel.eclipse.org/babel/translate.php?project=tools.mat&version=1.0&file=org.eclipse.mat.api/src/org/eclipse/mat/inspections/annotations.properties&string=BigDropsQuery.help
Comment 3 Eclipse Genie CLA 2014-06-17 12:57:55 EDT
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 Eclipse Genie CLA 2016-06-07 01:54:41 EDT
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 5 Eclipse Genie CLA 2018-05-29 11:24:01 EDT
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 Andrew Johnson CLA 2018-05-29 12:35:45 EDT
http://babel.eclipse.org/ is down so I cannot check the bug today.
Comment 7 Andrew Johnson CLA 2018-07-27 09:18:59 EDT
It looks like this has been fixed:
http://babel.eclipse.org/babel/translate.php?project=tools.mat&version=1.8&file=org.eclipse.mat.jdt/org/eclipse/mat/jdt/annotations.properties&string=OpenSourceFileQuery.help
has a line ending \n\n\
then CR-LF, and this displays correctly.

The original problem http://babel.eclipse.org/babel/translate.php?project=tools.mat&version=1.8&file=org.eclipse.mat.api/org/eclipse/mat/inspections/annotations.properties&string=BigDropsQuery.help
also displays as 
Display memory accumulation points in the dominator tree.\n\n\
Displayed are objects where the difference in the retained size of the parent \
and the children is very big. These are places where the memory of many small \
objects is accumulated under one object. The first \"interesting\" dominator \
of the accumulation point is also shown.

though this now has LF as line separators.

However, old versions such as
http://babel.eclipse.org/babel/translate.php?project=tools.mat&version=1.0&file=org.eclipse.mat.api/org/eclipse/mat/inspections/annotations.properties&string=BigDropsQuery.help
are also okay.
Comment 8 Denis Roy CLA 2018-07-27 10:57:30 EDT
Thanks for circling back!