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: 139
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
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(
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(
	at java.base/java.lang.reflect.Method.invoke(
	at org.eclipse.equinox.launcher.Main.invokeFramework(
	at org.eclipse.equinox.launcher.Main.basicRun(
	at org.eclipse.equinox.launcher.Main.main(

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: Thu Oct 06 08:07:06 GMT 2022

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

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

Back to the top