Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Issue with TP validation / javax.crypto

Alex,

The JustJ IUs have a negative requirement on all a.jre.javase IUs.  This is poorly explained by the explainer like this:

  Error: Cannot satisfy dependency: org.eclipse.justj.openjdk.hotspot.jre.full 14.0.2.v20200815-0932 depends on: org.eclipse.equinox.p2.iu; a.jre.javase 0.0.0

It would be better if the explainer explained that this is a negative requirement (max = 0).

In Oomph's build I use JustJ's a.jre.* IU as the execution environment:

  https://git.eclipse.org/c/oomph/org.eclipse.oomph.git/tree/releng/org.eclipse.oomph.parent/pom.xml#n147

In your case (Tycho 2.0+) you'd need to use this:

<executionEnvironment>org.eclipse.justj.openjdk.hotspot.jre.full-14</executionEnvironment>

Regards,
Ed

On 30.10.2020 08:02, Axel Guckelsberger wrote:

Hello all,

I've a problem with Tycho 2.0.0 which still occurs with 2.1.0.

When the target platform is validated the following error is thrown:

Error: Cannot resolve target definition:
Error: Software being installed: a.jre.javase 11.0.0
Error: Software being installed: org.eclipse.xtext.sdk.feature.group 2.23.0.v20200831-0926
Error: Cannot satisfy dependency: org.eclipse.emf.ecore 2.23.0.v20200630-0516 depends on: java.package; javax.crypto 0.0.0
Error: Cannot satisfy dependency: org.eclipse.justj.openjdk.hotspot.jre.full 14.0.2.v20200815-0932 depends on: org.eclipse.equinox.p2.iu; a.jre.javase 0.0.0
Error: Cannot satisfy dependency: org.eclipse.justj.openjdk.hotspot.jre.full.linux.x86_64 14.0.2.v20200815-0932 depends on: osgi.bundle; org.eclipse.justj.openjdk.hotspot.jre.full [14.0.2,14.0.3)
Error: Cannot satisfy dependency: org.eclipse.xtext.sdk.feature.group 2.23.0.v20200831-0926 depends on: org.eclipse.equinox.p2.iu; org.eclipse.emf.ecore 2.20.0


I think it is somehow related to this:

https://wiki.eclipse.org/Tycho/Release_Notes/2.0#Proper_BREE_handling_may_require_setting_executionEnvironment_in_target-platform-configuration_or_targetJRE_in_.target_files

Possibly this happens because I am building using Java 11 for Java 11 (execution environment), but including Java 14 into the product?


Does anybody have some experience with regards to this?

Thanks for your advice,

Axel



_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/tycho-user

Back to the top