Bug 40936 - put project compiler settings in .project file
Summary: put project compiler settings in .project file
Status: RESOLVED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 enhancement (vote)
Target Milestone: 3.0 M4   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 43090 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-07-30 05:12 EDT by Nikolay Metchev CLA
Modified: 2003-10-15 05:06 EDT (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 Nikolay Metchev CLA 2003-07-30 05:12:19 EDT
It seems that most of the project settings go into the ".project" file. However 
it seems that the if you choose a different java compiler settings (warnings 
etc.) those do not get stored in the .project file and so if the project is in 
source control different people will be seeing different warnings on their 
local copy of projects.
Comment 1 Rafael Chaves CLA 2003-07-30 10:18:53 EDT
Moving to JDT/Core.
Comment 2 Philipe Mulet CLA 2003-09-08 18:14:00 EDT
Compiler settings are currently stored in the workspace metadata, waiting for a 
generic platform preference solution which is being investigated for 3.0.

We already store the classpath setting in our .classpath file, and were 
reluctant to add another preference store file in there (to avoid cluttering).

Note that if appending into the .project file, then integrating changes will 
become really tedious due to multiple separate concerns intermixed.
Comment 3 Olivier Thomann CLA 2003-09-15 15:32:17 EDT
*** Bug 43090 has been marked as a duplicate of this bug. ***
Comment 4 Philipe Mulet CLA 2003-09-24 03:43:43 EDT
Closing as preferences are going to be reworked, but not persisted in .project 
file.
Comment 5 Robert (Kraythe) Simmons CLA 2003-10-14 17:53:59 EDT
There seems to be a disconnect in communication between the last message and 
the people filing this bug. The problem is that we WANT the settings in the 
project file. We want all of the settings in that file so that when developing 
in teams, everyone is developing with the same settings. 

I would re-open the bug if I could because it is a relevant issue until the 
hypothetical reworking of the preferences is not only done but reflects the 
goals of the poster of this bug. 

If not, I suppose id have to report it again as this is very important for 
team collaboration. 
Comment 6 Philipe Mulet CLA 2003-10-15 05:06:22 EDT
It would be pointless to workaround missing shareable preferences when these 
are going to be provided for 3.0. 

Why aren't you simply exporting your preferences in some preference file which 
you decide to share in your project directly ? This would be a workaround which 
would not require any code change.