-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Features] Leaverage transitive inclusion and build source-features #20
[Features] Leaverage transitive inclusion and build source-features #20
Conversation
The initial target-platform resolution fails with the following errors:
I'm puzzled why this fails. @laeubi @mickaelistria do you have any idea? The only difference I see is that Tycho-pomless is not (yet but I'm working on it) used in equinox-bundles and the features of their own pom.xml. |
Adding the following configuration to the
But I think I have to add |
I have no idea, but would start with the bare minimum and only remove the source plugins/features instead of any "transitive" for me this is causing more trouble as is really solves and the real issue we should care is eclipse-tycho/tycho#898 |
I've run into problems similar to this too. I think it's a bit of a chicken and egg problem because the source is generated so is not available up front somehow. It seems to me I had to do this to make the problem go away at the root level. This is the particular feature that strictly controls what is and is not in Oomph's update site via transitive inclusion... Let me look if there are any other things I can think of... |
I assume that this is configured for these things in the right places:
|
Thanks for your help. |
130702c
to
0cb1784
Compare
0cb1784
to
703f9ff
Compare
The first reason of the failure was that Tycho requires a specific execution-id for the A second reason this is failing is that the tycho-p2-plugin is removing source-features that are not present in the baseline. I hope this is solved with corresponding enforced qualifier updates. |
Signed-off-by: Hannes Wellmann <wellmann.hannes1@gmx.net>
703f9ff
to
24313ff
Compare
Great, that worked well. The new source features are:
|
I double checked that no plug-ins are effectively removed, so I think this is ready for submission. |
@merks the |
@HannesWell Yes, I remember updating some of my builds to use the new one, but the Oomph build still uses the old one. There are still these uses in the platform repos: And I thought the builds were being done with some 3.0.* version of Tycho... |
Thanks for the hints.
That's right, the |
No, there is a clear warning and it is marked for removal in 3.x and there is a replacement for it so no need to retain it. |
This PR proposes to build source-features for all non-sdk features of equinox-bundles and to simplify the feature content by leveraging transitive inclusion and the now generated source features.
Leveraging transitive inclusion avoids effective duplicates and reduces the maintenance effort. Furthermore it becomes more unlikely to forget to include a source-plugin. My intention is also to reduce the subsequent maintenance effort of eclipse-equinox/equinox.framework#41.
Besides that, it removes the
.feature
suffix from the project-nameorg.eclipse.equinox.server.core.feature
to match the feature name.