Project with only P2 Director but no Git Clone nor Stream [message #1745779] |
Mon, 17 October 2016 13:23 |
Michael Vorburger Messages: 103 Registered: July 2009 |
Senior Member |
|
|
Hello,
I'd like / need to create a (sub) Project which has only P2 Director.
As far as I understand, this currently intentionally doesn't seem to be possible?
I've figured, through some trial and error, that unless you put a Git Clone AND Stream into a Project, it won't show up in the Import Projects list... so, for now, I'm working around this limitation by putting a fake (empty) Git repo into my sub-project with the P2 Director - but that seems a bit dumb.
The full background / story reason why I'd like / need to create a (sub) Project which has only P2 Director is that I'd like to let the end-users of my setup model choose the installation of a few non-critical nice to have addtional Eclipse plugins... so I have some core must have Repository and Requirement in a "root" P2 Director, and then more ones in additional P2 Directors in sub projects of the setup model. Those don't have any "real" projects (with code), so e.g. no Git Clone AND Stream, those sub-project serve only to let the end-user pick the optional plugins. (There are, of course, other "real" Oomph sub-projects to select the code project, also.)
Even more background: This is partly motivated by the parallel Forum thread "Stuck doing something/looping around (not deadlock) in SignatureBlockProcessor", where some plugins are temporarily causing issues with others. But even if there were no such technical issues, letting end-users chose some optional plugins is a useful thing to offer IMHO. (And something I've been wanting to offer end-users before the problems that the other thread is about; this is just a pressing reason for me to finally do it now.)
Would you consider make it possible to allow projects containing only P2 Director?
Thanks a lot,
Michael
|
|
|
Re: Project with only P2 Director but no Git Clone nor Stream [message #1745781 is a reply to message #1745779] |
Mon, 17 October 2016 13:57 |
Michael Vorburger Messages: 103 Registered: July 2009 |
Senior Member |
|
|
Hm... no.. After having explored this more:
> I've figured, through some trial and error, that unless you put a Git Clone AND Stream into a Project, it won't show up in the Import Projects list
Clarification / refinement, it seemed like Git Clone is NOT needed, Stream IS required; without Stream it actually will show up in the Import Projects list, but can't be selected. So I'm currently using a "fake" stream in sub Projects which have only P2 Director (and without any git clone, there), but it feels like a bit of a hack...
BUT, much more importantly, this doesn't actually really work as desired after all... with this "trick", what I'm observing Oomph (standalone Eclipse Installer, not yet in full IDE) does is indeed initially skip the Repository and Requirement form the NOT select sub-project - as I would want it to. But when the full IDE starts, then the plugins from that Repository and Requirement get added anyway after all...
> Would you consider make it possible to allow projects containing only P2 Director?
So the question here probably rather really is: Would you consider fully supporting optional partial P2 Director in Oomph setup models?
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03552 seconds