Community
Participate
Working Groups
Currently the compiler settings (Compliance, Problems, Style) are configured per workspace and may be customized for individual projects. But this is still stored inside workspace (under the .metadata area). A functionality that is missing is sharing these settings per-project with other team members. Most probably that would mean having an additional dot-file (e.g. .compilersettings, something containing similar information like .jprefs files do) inside the project and sharing it transparently through VCS. In my opinion and experience, the compiler settings are part of project properties rather than individual customization. Any points showing that I am mistaken are also welcome.
This is something we had in mind since day one, but were reluctant to add yet another artifact. We want to convert in a near future to using new shareable preference support from the platform (on per project basis). Time permitting.
*** Bug 59809 has been marked as a duplicate of this bug. ***
*** Bug 59808 has been marked as a duplicate of this bug. ***
*** Bug 59928 has been marked as a duplicate of this bug. ***
Investigating feasability within M9, if unable then will be deferred post 3.0.
Deferring as platform code hasn't fully stabilized yet. Migration is finished, but too risky for 3.0. We will though release it into 1.5 branch, and it will be available in the Cheetah update. Frederic - pls also attach your changes to this defect as a patch.
Created attachment 10314 [details] Patch implementing new preferences API for jdt-core. This patch is available for build I200405050200. I will refresh it when necessary... Applying it will result to move project jdt-core preferences from file <workspace>/.metadata\.plugins\org.eclipse.core.resources\.projects\<project>\org.eclipse.jdt.core\.jprefs directory to file <workspace>/<project>/.settings/org.eclipse.jdt.core.prefs Note that this patch also requires a patch for test class OptionTests in project org.eclipse.jdt.core.tests.model. I will attache a patch in next comment... If you try to use this patch, please let me know any trouble you get with it, thx
Created attachment 10315 [details] Patch for jdt.core.tests.model project Here's the patch to avoid trouble with OptionTests class in org.eclipse.jdt.core.tests.model project...
Note that this code should be released in 1.5 code stream by the end of this week and so will be available in next "official" Cheetah version (Cheetah 05).
Fixed and released in JDK_1_5 branch (since v_150_0506).
Should have been tagged as fixed.
Fixed.
*** Bug 54814 has been marked as a duplicate of this bug. ***
*** Bug 69103 has been marked as a duplicate of this bug. ***
Verified in I200409230100.