I try to publish the artifacts using
java -jar "C:\Users\vpurnam\.m2\repository\org\eclipse\tycho\tycho-bundles-external\2.5.0\eclipse\plugins\org.eclipse.equinox.launcher_1.6.300.v20210813-1054.jar" -application org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher -metadataRepository file:<RepoLocation> -artifactRepository file:<RepoLocation> -metadataRepositoryName <Name> -artifactRepositoryName <Name> -source <SourceRepoLocation> -configs ANY -compress -publishArtifacts
I get the below error
!ENTRY org.eclipse.osgi 4 0 2022-08-18 16:52:37.316
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:81)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
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:659)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596)
at org.eclipse.equinox.launcher.Main.run(Main.java:1467)
at org.eclipse.equinox.launcher.Main.main(Main.java:1440)
It works well if I use older org.eclipse.equinox.launcher. i.e org.eclipse.equinox.launcher_1.3.201.jar
Could you please help me to overcome from this blocker.
[Updated on: Thu, 18 August 2022 11:53]
Report message to a moderator