-
Notifications
You must be signed in to change notification settings - Fork 189
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
Support automatic installation of a suitable JustJ in a product packaging #2064
Comments
Can you please elaborate? IIRC, this is just a matter of adding the justj feature to the .product. |
Just take a look at the demo: https://github.com/eclipse-tycho/tycho/blob/master/demo/justj/product/pom.xml Requires:
Also the JustJ Documentation has a lot of steps to follow and that they recommend that makes this quite confusing: So in the end it could be just a simple config option in the publisher plugin to have an option |
OK, so only "Configure target platform special" is special and a source of confusion; everything else is standard.
Introducing new options to do things that can be done with standard existing approaches already is not always a simplification, unless the "legacy" approach can be fully removed. |
Actually I don't want to specify anything more than "please pack a jre with my product", so I don't need extra updatesites (that blow up the dependency closure of my project), nor do I want configure my project (as this is a plain packaging concern like "include launcher artifacts") or configure target platform special. Many things can be archived with "standard" aproaches, but one big benefit of Tycho is that one do not need to configure all the things (most of the time) and it can derive as much as possible from the meta-data. |
You can also just add the JustJ feature in the TP as demonstrated in #2287, but one still has to specially configure the
The problem I see, when Tycho just packs a jre in the product that could mean just pack any JRE in the product. But there are different JRE versions (OK, at least the major version could be derived from the product's EE/vm config) and different variants. For JustJ there is Therefore I think a user should still select the exact JVM Plugin/Feature included in the product by adding the Plugin/Feature to the TP and then just add it as content to the Product. Just like with every other Plugin or Feature. That is the usual workflow and IMHO intuitive; you want something in your product, you add it as content (and previously to the TP). |
I now added the PDE UI here to make it more convenient than currently to specify that one wants to include a JRE: regarding choosing the JVM it is quite easy:
For any special use-case this can still be customized with features as currently. |
PDE recently added a new flag for the product to mark it to include a jre eclipse-pde/eclipse.pde#1075 but this currently has no effect in Tycho. This now adds support for automatically include a JustJ JRE if the option is selected. Fix eclipse-tycho#2064
PDE recently added a new flag for the product to mark it to include a jre eclipse-pde/eclipse.pde#1075 but this currently has no effect in Tycho. This now adds support for automatically include a JustJ JRE if the option is selected. Fix eclipse-tycho#2064
PDE recently added a new flag for the product to mark it to include a jre eclipse-pde/eclipse.pde#1075 but this currently has no effect in Tycho. This now adds support for automatically include a JustJ JRE if the option is selected. Fix #2064
PDE recently added a new flag for the product to mark it to include a jre eclipse-pde/eclipse.pde#1075 but this currently has no effect in Tycho. This now adds support for automatically include a JustJ JRE if the option is selected. Fix eclipse-tycho#2064
PDE recently added a new flag for the product to mark it to include a jre eclipse-pde/eclipse.pde#1075 but this currently has no effect in Tycho. This now adds support for automatically include a JustJ JRE if the option is selected. Fix #2064
Currently one has to do some quite special configuration in Tycho to get JustJ packaged that is of limited use in many cases ("just add a jre to my product") and Tycho can actually derive most of the data already:
so given we have the site https://download.eclipse.org/justj/jres/ we can derive the best item to be installed in a given product.
The text was updated successfully, but these errors were encountered: