- This topic has 0 replies, 1 voice, and was last updated 11 years, 2 months ago by sdc-support.
-
AuthorPosts
-
sdc-supportMemberIt can be hard to determine which Eclipse preferences you use. Sometimes you’ll export preferences and when you apply them they seem to be lost. An interesting point to note is that some preferences can be stored on the project and those can override global settings. Some plugins even store their preferences are stored in non-standard locations, those will never get applied via an Eclipse preference file (.epf).
Here’s a clever way to determine which preferences you use and how they’re stored.
1. In your Eclipse with all the plugins you want, create a new workspace, let’s say C:\ws1.
2. Set the preferences the way you want them set.
3. Create a new workspace, C:\ws2.
4. Create yet another workspace, C:\ws-compare.
5. In the C:\ws-compare workspace, create a General project named Compare.
6. In the Compare project, create two folders one linked to C:\ws1 and the other to C:\ws2 (New Folder->Advanced->Link to Alternate Location)
7. In the Navigator/Explorer turn off filtering of resources that start with “.”, it’ll be “.* resources” in the menu.
8. Select ws1 and ws2 in the Compare project, right click and do a Compare with->Each other.Preferences that are stored via the standard Eclipse preference structure can be found in .metadata/.plugins/org.eclipse.core.runtime/.settings
Differences in other .metadata/.plugins could indicate preferences being stored via non-Eclipse-standard mechanisms. Never fear! With SDC you can apply those preferences too using the .wrkspc file. See your admin console documentation for how to use the .wrkspc file.
-
AuthorPosts