Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Kura » Help updating artifact.xml and content.xml for Kura target-definition
Help updating artifact.xml and content.xml for Kura target-definition [message #1853804] Mon, 18 July 2022 17:00 Go to next message
Flavio Mising name is currently offline Flavio Mising nameFriend
Messages: 15
Registered: June 2015
Junior Member
Hello,

for my project purposes, I need to ad a jar into the test-deps/repository/plugins/ directory, so that it can be resolved once I perform the maven build and the dependency itself is detected by the Eclipse Workspace.

The problem is that I am not able to update the following files:


  • artifacts.xml
  • content.xml


I can only manually update artifacts.xml because it's simple.

I've read the documentation and bumped into this command line from p2 documentation here:
eclipse -application org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher
   -metadataRepository file:/<some location>/repository
   -artifactRepository file:/<some location>/repository
   -source /<location with a plugin and feature directory>
   -configs gtk.linux.x86
   -compress
   -publishArtifacts


I also tried this one, but the result is still the same:
java -jar <eclipseDirectory>/plugins/org.eclipse.equinox.launcher_<version>.jar
   -application org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher
   -metadataRepository file:/<yourLocalRepo>
   -artifactRepository file:/<yourLocalRepo>
   -source <location with a sub-directory named plugin and/or features >
   -publishArtifacts


References: stackoverflow.

Iget the following 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(EclipseAppLauncher.java:78)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1492)


Could you please help me to solve this?
Re: Help updating artifact.xml and content.xml for Kura target-definition [message #1853858 is a reply to message #1853804] Wed, 20 July 2022 07:43 Go to previous message
Flavio Mising name is currently offline Flavio Mising nameFriend
Messages: 15
Registered: June 2015
Junior Member
Hello,

I solved following these recommendations.
Previous Topic:BLE disableValueNotifications does not remove callbacks
Next Topic:Raspberry pi kura web ui
Goto Forum:
  


Current Time: Sat Apr 27 03:00:19 GMT 2024

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

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

Back to the top