Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » install my own eclipse IDE
install my own eclipse IDE [message #1830796] Tue, 04 August 2020 07:26 Go to next message
Gopi Krishna Gobbilla is currently offline Gopi Krishna GobbillaFriend
Messages: 7
Registered: February 2016
Junior Member
Hi,

I have my own custom eclipse IDE available as a P2 composite repository, this has many components like
ecl_platform
ecl_cdt
ecl_sphinx
... and so many others

So I have updated the org.eclipse.products.setup file to list my IDE pointing to the P2 repository (I would have even created user setup file for the same)
index.php/fa/38724/0/

now my IDE is listed in the product list of oomph installer dialog.
index.php/fa/38722/0/

i have selected this product and installation finished without any errors, but many of the plug-ins listed in my repository are missing in the installation, hence i could not launch my IDE.
for e.g., org.eclipse.equinox.launcher plug-in is missing.


Could you pls help ? Thank you




[Updated on: Tue, 04 August 2020 12:16]

Report message to a moderator

Re: install my own eclipse IDE [message #1830800 is a reply to message #1830796] Tue, 04 August 2020 09:22 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 32111
Registered: July 2009
Senior Member
I don't see that your p2 director task has any requirements. I only see a repository, but if you don't specify what to install from that repository then nothing will be installed. You should look closely how the existing products specify their p2 directory tasks.

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: install my own eclipse IDE [message #1830805 is a reply to message #1830800] Tue, 04 August 2020 13:05 Go to previous messageGo to next message
Gopi Krishna Gobbilla is currently offline Gopi Krishna GobbillaFriend
Messages: 7
Registered: February 2016
Junior Member
Yes. . after adding the requirement, now it works, i have tried for org.eclipse.platform

what can be done if I want to install all the feature groups from this repository ?
because there are more than 100 feature groups in my repo and I want all of them to be installed.
Should I find all these feature groups and put into the setup as requirements manually ?
Re: install my own eclipse IDE [message #1830810 is a reply to message #1830805] Tue, 04 August 2020 14:24 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 32111
Registered: July 2009
Senior Member
Use the Repository Explorer to view the contents of the repository and then drag and drop all the features onto the p2 task:

https://wiki.eclipse.org/Eclipse_Oomph_Authoring#How_to_install_Eclipse_plugins_using_the_P2_Director_and_Repository_Explorer


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: install my own eclipse IDE [message #1830835 is a reply to message #1830810] Wed, 05 August 2020 05:16 Go to previous messageGo to next message
Gopi Krishna Gobbilla is currently offline Gopi Krishna GobbillaFriend
Messages: 7
Registered: February 2016
Junior Member
Thanks that worked!

another issue:
I have two repositories e.g., A, B
A has features 1,2
B has features 1,2,3
I wanted to configure P2 Director task such that features 1,2 are considered from A and feature 3 is considered from B
How can I configure this ?
Note: All these features from both repos are compatible
Re: install my own eclipse IDE [message #1830838 is a reply to message #1830835] Wed, 05 August 2020 05:51 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 32111
Registered: July 2009
Senior Member
You can control what's installed either by controlling which repositories are available or by restricting the version range of a requirement such that it is forced to pick something more specific from whatever repositories are available.

A p2 Director task has an advanced property, "Merge Disabled" which is false by default. The only other possibility is to do two separate p2 tasks instead of a single merged p2 task. But I've never tried that in the installer...


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: install my own eclipse IDE [message #1830938 is a reply to message #1830838] Fri, 07 August 2020 05:55 Go to previous messageGo to next message
Gopi Krishna Gobbilla is currently offline Gopi Krishna GobbillaFriend
Messages: 7
Registered: February 2016
Junior Member
I have created two separate P2 director tasks and set "Merge Disabled" to true and installation worked as expected.

index.php/fa/38751/0/

Now the issue is configuration/org.eclipse.equinox.simpleconfigurator/bundles.info is NOT created.

This file gets created when I get all my requirements from
http://download.eclipse.org/releases/photon/201806271001
instead of my repository

so wanted to know in general, what is responsible for creating bundles.info or how this bundles.info is created ?
Re: install my own eclipse IDE [message #1830950 is a reply to message #1830938] Fri, 07 August 2020 08:09 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 32111
Registered: July 2009
Senior Member
Perhaps its important to install the product first before installing additional features. So maybe just reordering the p2 Director tasks will do the trick.

Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Automate manual steps with Oomph
Next Topic:Issues with ResourceCreationTask
Goto Forum:
  


Current Time: Sun Dec 05 21:50:10 GMT 2021

Powered by FUDForum. Page generated in 0.02765 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top