Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsGenerate .setup from an existing project
https://www.eclipse.org/forums/index.php/mv/msg/1092197/1783377/#msg_1783377
We have an existing project, everything is set up. Now we want to use oomph for installation and provisioning.
We want to create a product .setup (for the eclipse installation) and also a project .setup for all the settings in the workspace, including project import, git connection and so on.
Can we generate the 2 .setups from the existing eclipse installation and project workspace?
Why we're asking: over the time, we've added some eclipse plugins. When new developers join the team, they just copy the workspace folder from someone and have the same plugins. Now, with oomph, if we are to create the .setup from scratch, we would have to evaluate which plugins are already installed (in the old workspace) and select them for installing (in the new Product Model .setup).
I can imagine that other teams have also configured oomph for old projects, how was this done? The same question for the imported projects - eclipse should be able to generate a .setup which imports all projects from the right location.
What we tried: eclipse -> Navigate -> Open Setup -> Self Products / Installation / Workspace. This gives us a .setup model. Our expectation was than these .setup files would have the same structure as the .setup files generated when clicking on Project -> New -> Other -> Oomph -> Setup Product Model (setup:Product) / Setup Project Model (setup:Project). What we get is, however, setup:ProductCatalog / setup:Installation / setup:Workspace. In other words, we don't quite get the Oomph Scopes. We only have one workspace with multiple installed plugins and multiple imported projects in it, should be a simple scenario - our expectation was that we don't need setup:Workspace or Project streams...
Can someone help, has someone done such "quick" generation of .setup models?]]>Wa Liu2018-03-12T13:40:07-00:00Re: Generate .setup from an existing project
https://www.eclipse.org/forums/index.php/mv/msg/1092197/1783437/#msg_1783437
Ed Merks2018-03-13T07:33:36-00:00Re: Generate .setup from an existing project
https://www.eclipse.org/forums/index.php/mv/msg/1092197/1783443/#msg_1783443
I think this will be the best approach for us too - 1. download and run the eclipse installer; 2. choose some base product, like Eclipse For Java Devs; 3. add our project.setup file in the projects page and use it. Done!
It is indeed a bit of work to declare all updates sites and p2 IUs from the old workspace that we need into the project.setup model, but after a few iterations we are ready to go on with the work ;)]]>Wa Liu2018-03-13T08:57:48-00:00Re: Generate .setup from an existing project
https://www.eclipse.org/forums/index.php/mv/msg/1092197/1783446/#msg_1783446
https://wiki.eclipse.org/Eclipse_Oomph_Authoring#Automation_and_Specialization_with_Configurations
E.g., EMF's build page is very simple steps for how anyone can reproduce EMF's development environment (in which they can reproduce the Tycho build):