Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 342732 - Incorrect preference store is used for SyntaxColor preferences
Summary: Incorrect preference store is used for SyntaxColor preferences
Status: CLOSED INVALID
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: M7   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-13 11:40 EDT by Hendrik Eeckhaut CLA
Modified: 2017-09-19 18:06 EDT (History)
2 users (show)

See Also:
sebastian.zarnekow: indigo+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hendrik Eeckhaut CLA 2011-04-13 11:40:25 EDT
Build Identifier: 20110218-0911

When I run my Xtext plugin as an Eclipse Application from a host Eclipse and change color preferences for my DSL. These preferences are stored in a settings file in the workspace of the host Eclipse (and not in the runtime workspace).

See http://www.eclipse.org/forums/index.php?t=msg&th=207226&start=0&S=0444892b35e1644be58cee63ba1dcd25&SQ=bc1ce9953d911fd999d85200d3a8ab6b& for the original discussion on the Xtext forum.

Xtext 2.0 M6

Reproducible: Always

Steps to Reproduce:
1. Create a new Xtext project (default settings) and run the MWE2 workflow
2. Start the new plugin as Eclipse application
3. Create a test project with a test file (test.mydsl)
4. Change a color in the Syntax Coloring Preference page of MyDsl
5. The preference is stored in <host-workspace>/.metadata/.plugins/org.eclipse.pde.core/Eclipse Application/.settings/org.xtext.example.mydsl.MyDsl.prefs instead of the expected ~/runtime-EclipseApplication/.metadata/.plugins
Comment 1 Michael Clay CLA 2011-04-18 17:25:10 EDT
have you already tried to change the configuration area in the corresponding eclipse launch configurations dialog (default value is ${workspace_loc}/.metadata/.plugins/org.eclipse.pde.core/Eclipse Application)?


(In reply to comment #0)
> Build Identifier: 20110218-0911
> 
> When I run my Xtext plugin as an Eclipse Application from a host Eclipse and
> change color preferences for my DSL. These preferences are stored in a settings
> file in the workspace of the host Eclipse (and not in the runtime workspace).
> 
> See
> http://www.eclipse.org/forums/index.php?t=msg&th=207226&start=0&S=0444892b35e1644be58cee63ba1dcd25&SQ=bc1ce9953d911fd999d85200d3a8ab6b&
> for the original discussion on the Xtext forum.
> 
> Xtext 2.0 M6
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> 1. Create a new Xtext project (default settings) and run the MWE2 workflow
> 2. Start the new plugin as Eclipse application
> 3. Create a test project with a test file (test.mydsl)
> 4. Change a color in the Syntax Coloring Preference page of MyDsl
> 5. The preference is stored in
> <host-workspace>/.metadata/.plugins/org.eclipse.pde.core/Eclipse
> Application/.settings/org.xtext.example.mydsl.MyDsl.prefs instead of the
> expected ~/runtime-EclipseApplication/.metadata/.plugins
Comment 2 Hendrik Eeckhaut CLA 2011-04-19 03:18:59 EDT
I didn't know about the configuration area setting. The preference is indeed saved in the specified location.
Comment 3 Karsten Thoms CLA 2017-09-19 17:55:05 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 4 Karsten Thoms CLA 2017-09-19 18:06:02 EDT
Closing all bugs that were set to RESOLVED before Neon.0