Bug 19691 - [Team UI] Preferences not working with import/export
Summary: [Team UI] Preferences not working with import/export
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Team (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows XP
: P2 critical (vote)
Target Milestone: 2.1 M5   Edit
Assignee: Boris Shingarov CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 16334 28715 (view as bug list)
Depends on:
Blocks: 19494
  Show dependency tree
 
Reported: 2002-06-07 18:26 EDT by Randy Giffen CLA
Modified: 2003-02-25 11:36 EST (History)
2 users (show)

See Also:


Attachments
Patch for ignores (7.88 KB, patch)
2003-01-27 18:48 EST, Boris Shingarov CLA
no flags Details | Diff
Better version (9.03 KB, patch)
2003-01-31 12:03 EST, Boris Shingarov CLA
no flags Details | Diff
Same change for file types (7.24 KB, patch)
2003-02-04 14:06 EST, Boris Shingarov CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Randy Giffen CLA 2002-06-07 18:26:01 EDT
Build F2

The following preferences were not transfered from one workspace to another 
using the export/import preferences feature.

Ensure that these settings are saved in and read from your plug-in's 
preference store (if possible).

Team
 - Use Incoming/Outgoing
Team>File Content
 - Add, Remove, Change
Team>Ignored Resources
 - Add, Remove, Selected
Comment 1 Nick Edgar CLA 2002-06-10 15:40:56 EDT
Please consider this for F3, or it will diminish the usefulness of the 
import/export feature.
Comment 2 James Moody CLA 2002-06-11 09:54:39 EDT
Use Incoming/Outgoing transfered fine for me. Checked the export file and
verified that the preference is present.

Discussed with Kevin M; File Content and Ignored Resources won't be put in for F3.

Moving to future.
Comment 3 Kevin McGuire CLA 2002-07-17 16:27:07 EDT
reopening for remaining work
Comment 4 Kevin McGuire CLA 2002-07-17 16:31:22 EDT
For 2.1 we should support storing/retrieving of ignore, text/bin.

Comment 5 Michael Valenta CLA 2002-08-23 13:43:02 EDT
*** Bug 16334 has been marked as a duplicate of this bug. ***
Comment 6 Michael Valenta CLA 2002-08-27 14:36:21 EDT
I believe the approach for persisting ASCII/Binary and ignore patterns that is 
described in bug 16334 is more appropriate because these are not really 
preferences. This apporach advocates a preference which identifies a single 
file that persists these settings. Only changes made by the user should be 
placed in this file (i.e. either additions or changes to entires contributed by 
plugins).
Comment 7 Sonia Dimitrov CLA 2002-12-20 09:56:38 EST
*** Bug 28715 has been marked as a duplicate of this bug. ***
Comment 8 Boris Shingarov CLA 2003-01-27 18:48:33 EST
Created attachment 3164 [details]
Patch for ignores
Comment 9 Michael Valenta CLA 2003-01-30 11:56:43 EST
Patch needs to be backwards compatible
Comment 10 Boris Shingarov CLA 2003-01-31 12:03:02 EST
Created attachment 3252 [details]
Better version

This patch addresses two deficiencies:	(1) backward compatibility with
state-based ignores, and (2) saving the "enabled" state of plugin-defined
ignores.
Comment 11 Boris Shingarov CLA 2003-02-04 14:06:22 EST
Created attachment 3283 [details]
Same change for file types
Comment 12 Michael Valenta CLA 2003-02-04 14:19:36 EST
Fix released to HEAD