I have an Eclipse workspace with many (> 50) bundles. Some bundles contains special project settings for, e.g., customer-specific code formatting.
If I set up a new workspace and checkout an existing project with customer-specific code formatting, Eclipse changes the date comment in org.eclipse.jdt.ui.prefs
to the current date automatically!
This is the preference file (org.eclipse.jdt.ui.prefs
) in SVN:
#Tue Apr 24 09:15:20 CEST 2012
eclipse.preferences.version=1
formatter_profile=_myProfile
formatter_settings_version=12
This is the file (org.eclipse.jdt.ui.prefs
) after checkout:
#Tue Apr 24 09:30:25 CEST 2012
eclipse.preferences.version=1
formatter_profile=_myProfile
formatter_settings_version=12
The same happens with the org.eclipse.core.resources.prefs
settings file if I set the encoding to UTF-8 for the whole project.
SVN:
#Tue Apr 24 09:26:48 CEST 2012
eclipse.preferences.version=1
encoding/<project>=UTF-8
After checkout:
#Tue Apr 24 09:28:00 CEST 2012
eclipse.preferences.version=1
encoding/<project>=UTF-8
If a project contains both setting files (org.eclipse.core.resources.prefs
and org.eclipse.jdt.ui.prefs
) only the org.eclipse.core.resources.prefs
setting file will be changed!
Does someone know why Eclipse changes this line and how I can avoid it?