-
Notifications
You must be signed in to change notification settings - Fork 58
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
Bug 570760 - Option to automatically add requirements to product-launch #7
Conversation
Last comment from @laeubi at the mentioned Gerrit:
I have not yet considered that point, but I agree with Christoph that this alone is a reason to persist the newly added attribute in the product, even tough we are not yet 100% certain that P2/Tycho will be able to handle this subsequently (but I think it is likely that this is possible). Besides that I wonder if |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure... Persisting that option is a good point, but that's basically what launch configurations are for.
To me the primary consumer for the product file is the product build, not the developer launching it locally. So I still would not add any option, that is not used by the product build in the near future.
But since PDE doesn't have a product build anymore and I'm not involved with Tycho, I'll leave that decision to you.
The code looks fine though (except for the unclear default).
ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/product/Product.java
Outdated
Show resolved
Hide resolved
Why having products at all then? We could simply use "OSGi Framework Launch" config then
I literally don't know anyone writing product files but never launching them in the IDE, for my daliy development launching products is what I do all day, and I almost never change/edit run configs for that. |
b0e1c77
to
59d96e6
Compare
I checked how Tycho/P2 is behaving and verified that even for plug-in based launches requirements are included automatically. I'm in favor to submit this change now. I already created an issue to support that flag in p2: eclipse-equinox/p2#76 The only thing I'm thinking about to change is the location of the |
I have done that. The Overview-page is now unchanged and the Please not that I have updated the label of the check-box to include optional dependencies when adding required plug-ins to make it clear that this check box is only considered by the button on the right. Not when automatically including requirements. The check-box Please let me know what you think about this change. |
Change-Id: I6881ca000452d70558e434e2e8b06bff6e3e6dcd Signed-off-by: Hannes Wellmann <wellmann.hannes1@gmx.net>
No objections were raised, the build looks good and today is last day of development. So this is finally ready for submission. |
PR for the N&N entry: |
This PR resolves Bug 570760
It was first addressed in Eclipse Gerrit Change 186834 but abandoned because it was not yet compelted at the time of the move.