[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [justj-dev] JustJ and Java 11
|
On Fri, 2020-06-12 at 21:20 +0200, Ed Merks wrote:
> Does something explicitly require a.jre.javase?
AFAIK no. 4diac IDE is an Eclipse workbench based RCP. I searched and in no place found an explicit reference to a.jre.javase or a.jre.
Any tips what could pull it in?
grepping over our code base I found in the product file:
<vm>
<linux include="false">org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11</linux>
<macos include="false">org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11</macos>
<windows include="false">org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11</windows>
</vm>
and our plugins have a .classpath file:
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11"/>
I hope these are not too dumb questions but I see that you don't have these in the sample product. Do we have these wrongly?
Thanks a lot for you help,
Alois
> The JustJ JRE IUs have
> a negative requirement on a.jre.javase and on a.jre, so you can't
> explicitly require both. In general I would expect nothing explicitly
> references either a.jre.javase nor a.jre. These are "fake/synthetic" IUs
> whose only purpose is to satisfy BREE requirements and package imports
> at p2 resolution time that are satisfied by a real JRE at runtime via
> OSGi. The JustJ JRE IUs will also satisfy BREE and package imports so
> definitely no explicit use of a.jre.javase should be present.
>
> On 12.06.2020 17:31, Alois Zoitl wrote:
> > Hi,
> >
> > we recently updated Eclipse 4diac to Java 11 and as next step we wanted to bundle JustJ with it. However following the documentation and add the update site to
> > our target platform and the product file, Eclipse Tycho can not resolve the dependencies. See Maven output below.
> >
> > As I'm not that good with maven I firstly wanted to check if the problem is more likely on our side or on the JustJ side.
> >
> > Thanks in advance,
> > Alois
> >
> >
> >
> >
> > [INFO] Adding repository https://download.eclipse.org/justj/sandbox/jres/14/updates/nightly/latest
> > [INFO] Fetching p2.index from https://download.eclipse.org/justj/sandbox/jres/14/updates/nightly/N202006111504/
> > [ERROR] Cannot resolve target definition:
> > [ERROR] Software being installed: a.jre.javase 11.0.0
> > [ERROR] Software being installed: org.eclipse.justj.openjdk.hotspot.jre.full.stripped.feature.group 14.0.1.v20200611-1504
> > [ERROR] Cannot satisfy dependency: org.eclipse.justj.openjdk.hotspot.jre.full.stripped 14.0.1.v20200611-1504 depends on: org.eclipse.equinox.p2.iu;
> > a.jre.javase 0.0.0
> > [ERROR] Cannot satisfy dependency: org.eclipse.justj.openjdk.hotspot.jre.full.stripped.feature.group 14.0.1.v20200611-1504 depends on:
> > org.eclipse.equinox.p2.iu; org.eclipse.justj.openjdk.hotspot.jre.full.stripped [14.0.1.v20200611-1504,14.0.1.v20200611-1504]
> > [ERROR]
> > [ERROR] Failed to resolve target definition /home/az/prog/4diac-
> > ide_dev/org.eclipse.4diac.ide/plugins/org.eclipse.fordiac.ide.product/org.eclipse.fordiac.ide.product.target: See log for details -> [Help 1]
> >
> > _______________________________________________
> > justj-dev mailing list
> > justj-dev@xxxxxxxxxxx
> > To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> > https://dev.eclipse.org/mailman/listinfo/justj-dev
> _______________________________________________
> justj-dev mailing list
> justj-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/justj-dev