Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 330276

Summary: String resources extraction not friendly with source control systems
Product: z_Archived Reporter: Konstantin Komissarchik <konstantin>
Component: SapphireAssignee: Konstantin Komissarchik <konstantin>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: ling.hao
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

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.