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

Bug 324995

Summary: [preferences] New formatter profile version must not automatically touch existing projects
Product: [Eclipse Project] JDT Reporter: Markus Keller <markus.kell.r>
Component: UIAssignee: Markus Keller <markus.kell.r>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: P3 CC: daniel_megert, frederic_fusier, Olivier_Thomann
Version: 3.7   
Target Milestone: 3.7 M2   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Fix none

Description Markus Keller CLA 2010-09-10 13:11:20 EDT
HEAD after bug 318010 comment 3

- In 3.7 M1, create a workspace and a project with project-specific formatter settings. Set "Insert new line after annotations on members" to "do not insert".
- Start the same workspace with HEAD
=> unsolicited changes in org.eclipse.jdt.core.prefs and org.eclipse.jdt.ui.prefs

The same bug has already been detected as bug 217874, but the resolution was wrong.
Comment 1 Markus Keller CLA 2010-09-10 13:16:16 EDT
Created attachment 178636 [details]
Fix
Comment 2 Markus Keller CLA 2010-09-10 13:17:20 EDT
Fixed in HEAD.
Comment 3 Dani Megert CLA 2010-09-14 11:22:05 EDT
Verified by migrating from M1 to I20100914-0100 and reviewing the code.