Eclipse changes project settings after checkout [message #855959] |
Wed, 25 April 2012 08:38 |
Tim Krüger Messages: 2 Registered: February 2011 |
Junior Member |
|
|
Hi folks!
I have a problem with project setting files. I asked the same question also on StackOverflow (stackoverflow.com/q/10293864/207596?stw=2). Because of that I quoted my question. I will synchronize the topics manually!
Quote:I have a Eclipse workspace with many (> 50) bundles. Some bundles contains special project settings for e.g. customer specific code formatting.
If I setup a new workspace and checkout an existing project with customer specific code formatting the date comment in org.eclipse.jdt.ui.prefs will changed to the actual date by Eclipse 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 hole 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 & 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?
[Updated on: Wed, 25 April 2012 08:39] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.07797 seconds