Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Easier way to test p2 provision
Easier way to test p2 provision [message #1746403] Fri, 28 October 2016 08:28 Go to next message
Stefan Winkler is currently offline Stefan WinklerFriend
Messages: 301
Registered: July 2009
Location: Germany
Senior Member

I am currently assembling a new IDE for a corporate team.
I have finished authoring the model and now, I am testing the installation.
The problem is that we have quite a number of additional features and P2 repositories and I end up in the cycle of
- starting the Eclipse Installer (expert mode)
- clicking through the pages to the finish button
- waiting
- seeing the P2 director fail during initial provision
- correcting the model (changing a version constraint, adding a missing feature etc.)
- deleting the directory of the half-installed eclipse
- start over

Is there any way to speed this up (i.e., to test the P2 provision in a faster roundtrip)?

Re: Easier way to test p2 provision [message #1746434 is a reply to message #1746403] Fri, 28 October 2016 15:40 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 31043
Registered: July 2009
Senior Member
Start out small with just a base that works. The IDE that's successfully create will reference the original product setup, so you can progressively add things to the p2 task in the product setup (or add additional p2 tasks, which might make it easier to manage in the long term because you have a better idea of which IUs are coming from which repositories) and then you can run p2 task in that IDE, gradually building it up to the complete set of things you want. Then you can test again that you can create one from scratch with the installer. You can overwrite a directory as well; no need to delete it each time it fails...
Previous Topic:How can i write to the secure storage during setup?
Next Topic:Eclipse OOMPH System Wide Installation
Goto Forum:

Current Time: Wed Apr 08 19:30:02 GMT 2020

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

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

Back to the top