Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 330276 - String resources extraction not friendly with source control systems
Summary: String resources extraction not friendly with source control systems
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Sapphire (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Konstantin Komissarchik CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-15 14:41 EST by Konstantin Komissarchik CLA
Modified: 2021-11-19 09:22 EST (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 Konstantin Komissarchik CLA 2010-11-15 14:41:28 EST
The string resources extractor, which is responsible for pulling out externalizable strings from sdef files has the following two problems that make is problematic to use with an Eclipse source control system plugin.

1. The resources folder and properties files are not marked as derived.
2. The properties files are written explicitly written with UTF-8 encoding. This causes .settings/org.eclipse.core.resources.prefs file to be created/updated. Should just use the default encoding.
Comment 1 Konstantin Komissarchik CLA 2010-11-15 15:32:57 EST
There is a similar problem with incorrect charset handling in the annotation processor extension that handles string resource extraction in model elements.
Comment 2 Konstantin Komissarchik CLA 2010-11-15 15:45:41 EST
Problems fixed.
Comment 3 Ling Hao CLA 2011-01-07 19:11:01 EST
Verified resources folder and properties files are marked as derived.

Verified modifying string in sdef fileand model elemnt does not cause any changes in .settings.