Setup tasks for preferences [message #1851054] |
Fri, 25 March 2022 18:10 |
Alex Mising name Messages: 149 Registered: March 2010 |
Senior Member |
|
|
Hello,
I am a new user of Oomph. I am switching from using scripts that invoke P2 director to provision plugins and edit workspace preference files.
I have so far achieved the following:
- Created a product model with my repositories and features
- Recorded preferences in my user.setup file
I used the product model with the installer to deploy and IDE that has several plugins from many repos (JDT, m2e, egit, eclemma, pmd, checkstyle, genuitect theme, etc etc etc). This works well.
The second part works well FOR MYSELF ONLY: any workspace I create has the preferences I defined. But my questions is:
I would like to be able to share the preferences in my user.setup file with others. What is the best way to do this?
Ideally I would like to bundle the user.setup with the product: whenever the product opens and/or creates any workspace, it should also apply those preferences as part of opening the workspace. Is that possible?
|
|
|
|
|
Re: Setup tasks for preferences [message #1851077 is a reply to message #1851068] |
Sun, 27 March 2022 06:37 |
Ed Merks Messages: 33145 Registered: July 2009 |
Senior Member |
|
|
There are several other ways to do this. When a setup editor is open (which is indeed an EMF editor), the toolbar has buttons for Record Preferences, Capture Preferences, and Import Preference. The first will record any changes you make into the setup you have open; but it only record changes you make.... The Capture Preferences shows all preferences and you can convert any of them to preference tasks. The Import Preference can take the preferences you've exported from some IDE and convert them to preference tasks.
Sorry that the documentation is lacking. It would be great to have a week or two to write a manual that describes each task and all its properties with examples, as well as a better overview of all the tools...
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 5.04458 seconds