You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
run mvn clean install -X -Dtycho-version=2.4.0-SNAPSHOT
This results in printing
!ENTRY org.eclipse.tycho.p2.resolver.impl 4 0 2021-05-04 11:16:10.614
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.tycho.p2.resolver.impl [54]
Unresolved requirement: Import-Package: org.eclipse.tycho
at org.eclipse.osgi.container.Module.start(Module.java:463)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel$2.run(ModuleContainer.java:1845)
at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$1$1.execute(EquinoxContainerAdaptor.java:136)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1838)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1779)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1743)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1665)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:345)
to the debug console output (and some more)
org.eclipse.tycho is supposed to come from the bootclasspath so it seems the tycho-p2-extras-plugin is missing some depdencies.
Any hint what one has to look for? This happens wehn using the 'P2ApplicationLauncher'...
The text was updated successfully, but these errors were encountered:
This is caused because P2ApplicationLauncher forks a new process (an thus the boot classpath is not available), so we need distinguish between the two case.
Another issue when running in -X mode the "-console" parameter is added leading to
org.osgi.framework.BundleException: Could not find bundle: org.eclipse.equinox.console
at org.eclipse.core.runtime.internal.adaptor.ConsoleManager.checkForConsoleBundle(ConsoleManager.java:61)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:351)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:251)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
at org.eclipse.equinox.launcher.Main.run(Main.java:1461)
at org.eclipse.equinox.launcher.Main.main(Main.java:1434)
We can support this by adding the console bundles to the tycho-external product
tycho-extras/tycho-p2-extras-plugin/target/test-classes/publisher/testProject
mvn clean install -X -Dtycho-version=2.4.0-SNAPSHOT
This results in printing
to the debug console output (and some more)
org.eclipse.tycho is supposed to come from the bootclasspath so it seems the tycho-p2-extras-plugin is missing some depdencies.
Any hint what one has to look for? This happens wehn using the 'P2ApplicationLauncher'...
The text was updated successfully, but these errors were encountered: