Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 332679 - Cannot set server default preferences through plugin customization
Summary: Cannot set server default preferences through plugin customization
Status: NEW
Alias: None
Product: WTP ServerTools
Classification: WebTools
Component: wst.server (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: wst.server CLA
QA Contact: Angel Vera CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-15 14:56 EST by Richard Gregory CLA
Modified: 2010-12-15 15:28 EST (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 Richard Gregory CLA 2010-12-15 14:56:10 EST
Build Identifier: 3.2.1.v201007071800

When setting the following preferences in a feature plugin customization file, 
the settings are ignored:

org.eclipse.wst.server.core/auto-publish=false
org.eclipse.wst.server.ui/show-on-activity=false

We are setting things like
   org.eclipse.jdt.core/org.eclipse.jdt.core.compiler.problem.rawTypeReference=ignore

and when we do that, the Preferences show the value that we set in the file. For the server tooling settings, we always see the defaults, which are set to true. I'm not sure why that is, but maybe because the deprecated preference framework is being used? For example, it's using org.eclipse.core.runtime.Preferences rather than IEclipsePreferences, but I'm not sure if that is causing the problem.


Reproducible: Always
Comment 1 Richard Gregory CLA 2010-12-15 15:11:44 EST
Just to clarify, when I said "we always see the defaults", by that I meant that we see the defaults that are set in the code and not the defaults that are set in the feature plugin customization ini file.