Oomph Setup Configuration Model how to [message #1755154] |
Tue, 28 February 2017 09:06  |
Eclipse User |
|
|
|
Hello,
Could you please provide an example how to use Setup Configuration model. When I start Eclipse Installer in Advanced mode I'm not allowed to drop my Configuration model neither to Products nor Projects wizard tab. My Setup Configuration Model contains Installation and Workspace groups.
My goal is to create a Project configuration and after the installation when I switch to a new workspace I want to be able to apply the same workspace settings - preferences, launch configurations, etc.
Could you please help me to understand?
Regards,
Velizar
|
|
|
|
|
|
Re: Oomph Setup Configuration Model how to [message #1755237 is a reply to message #1755205] |
Wed, 01 March 2017 06:40   |
Eclipse User |
|
|
|
I'm not sure what exactly you mean by "project settings" or by "same Workspace settings".
> I have both Project.setup and Configuration.setup (incl. installation and workspace provisioning)
Do you have an Oomph project setup to provision a workspace?
> Yes, I have
The Workspace of the Configuration can reference your project setup so that it's automatically added to the appropriate extensible project catalog (based on the Logical project container of the Project setup) and is selected automatically on the Project page.
> I just linked Product Version in my Installation from my configuration.setup to "Latest Release (Neon) (Eclipse.org - Eclipse IDE for JavaScript and Web Developers)"
Also, the Workspace itself can directly contain setup tasks, e.g., preference tasks to set preferences. So in your real workspace, you could use Navigate -> Open Setup -> Workspace and in the editor you could use the Capture Preferences toolbar button to create preference tasks based on the current state of the preferences, though generally you'd want to record/capture such things in your Project setup and use the Configuration simply to make appropriate selections in the installer...
> What I want to achieve is to provision a new Eclipse installation with Project.setup and/or Configuration.setup with all preferences, launch configurations, etc. (This is done, I managed to do this). However if I switch to a new workspace in this eclipse instance I couldn't import workspace settings - this is what I'm missing.
|
|
|
Re: Oomph Setup Configuration Model how to [message #1755240 is a reply to message #1755237] |
Wed, 01 March 2017 08:40   |
Eclipse User |
|
|
|
So you have a Configuration and, in the Installation of that, you've linked the Product Version you want selected, and, in the Workspace of that, you've linked the Project Stream of your Project setup. And that's working, i.e, the Installer is selecting both things automatically and all is good?
Then what you want to be able to do is use that provisioned installation to create/open a brand new workspace, and in that empty new workspace, you again want to provision your Project Stream. You can use File -> Import -> Oomph -> Projects into Workspace. That brings up the wizard on the Project's page. Here you can also apply the Configuration, but of course the Installation part is ignored, because you already have an installation in place.
Did I miss some aspect of what you're trying to do?
|
|
|
|
Powered by
FUDForum. Page generated in 0.04954 seconds