Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Publishing artifacts throws error(Publishing artifacts throws error)
Publishing artifacts throws error [message #1854429] Thu, 18 August 2022 11:51
Virag Purnam is currently offline Virag PurnamFriend
Messages: 142
Registered: June 2014
Senior Member
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

Previous Topic:Headless 'Install new Software'
Next Topic:Slow Classloading with many jars on the classpath
Goto Forum:
  


Current Time: Sat Oct 05 10:05:10 GMT 2024

Powered by FUDForum. Page generated in 0.03229 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top