Mercurial > hg > Blog
comparison content/Eclipse/workspacemechanic.md @ 98:1d9382b0329b
Specify the syntax on markdown blocks to avoid broken output that has class=err
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Thu, 19 Dec 2019 10:04:33 +0100 |
parents | 47fa61e1845e |
children |
comparison
equal
deleted
inserted
replaced
97:e99db3bc53c1 | 98:1d9382b0329b |
---|---|
6 | 6 |
7 Since manually managing the workspace settings does not quite work it would be good to automate the preference management. The [workspacemechanic plugin](https://code.google.com/a/eclipselabs.org/p/workspacemechanic/) comes in very handy here. It works quite simple: you install the plugin, define the settings you want to unify across all workspaces and distribute those rules. The plugin then checks your current preference settings and will allow you to fix anything that does not match the required setup. | 7 Since manually managing the workspace settings does not quite work it would be good to automate the preference management. The [workspacemechanic plugin](https://code.google.com/a/eclipselabs.org/p/workspacemechanic/) comes in very handy here. It works quite simple: you install the plugin, define the settings you want to unify across all workspaces and distribute those rules. The plugin then checks your current preference settings and will allow you to fix anything that does not match the required setup. |
8 | 8 |
9 A rather undocumented feature of the plugin is how to distribute rules. Just put all rules on a HTTP server. Then, create a json document that references all these rules in the same directory as the rules files. Use this snippet as a template: | 9 A rather undocumented feature of the plugin is how to distribute rules. Just put all rules on a HTTP server. Then, create a json document that references all these rules in the same directory as the rules files. Use this snippet as a template: |
10 | 10 |
11 :::shell | |
11 { | 12 { |
12 type : 'com.google.eclipse.mechanic.UriTaskProviderModel', | 13 type : 'com.google.eclipse.mechanic.UriTaskProviderModel', |
13 metadata : { | 14 metadata : { |
14 name : 'Workspace Settings', | 15 name : 'Workspace Settings', |
15 description : 'Sample Mandatory Workspace Settings', | 16 description : 'Sample Mandatory Workspace Settings', |