Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Kura » Snapshot_0.xml or metatype info(Values in snapshot_0.xml override the defaults in the metatype file)
Snapshot_0.xml or metatype info [message #1722384] Thu, 04 February 2016 13:41 Go to next message
Mark Cullen is currently offline Mark CullenFriend
Messages: 5
Registered: January 2016
Junior Member
I tried to modify some of the default setting of the position service, I edited the org.eclipse.kura.position.service.xml file but after a rebuild only some of the changes take affect, others are overridden by values in snapshot_0.xml. Can you tell me what was the reason for creating this initial snapshot and what are the consequences of changing it, specifically the GPS port name.
Re: Snapshot_0.xml or metatype info [message #1722387 is a reply to message #1722384] Thu, 04 February 2016 14:01 Go to previous message
David Woodard is currently offline David WoodardFriend
Messages: 420
Registered: July 2014
Senior Member
Hi Mark,

A couple of things:

1. If you are building Kura, you need to make sure you tell the build of any changes you want to include in the installers. We control this with this config file [1]. For example, if you make a change to the org.eclipse.kura.linux.position bundle, you need to make sure the version in in the config file is updated as well. For example:

org.eclipse.kura.linux.position.version=1.0.5 -> org.eclipse.kura.linux.position.version=1.0.6-SNAPSHOT

2. The snapshot_0 file is used to control the initial state of a platform. Since not all platforms are created equal, it is a way to specify that certain platforms start in a know state. If you want to change default values for your target, this would be the file to change, not the component configuration file. These snapshot files are stored in https://github.com/eclipse/kura/tree/develop/kura/distrib/src/main/resources/<your_platform>/snapshot_0.xml .

[1] https://github.com/eclipse/kura/blob/develop/kura/distrib/config/kura.build.properties

Thanks,
--Dave
Previous Topic:Remote debug from Eclipse
Next Topic:Death Certificates
Goto Forum:
  


Current Time: Fri Apr 26 19:21:01 GMT 2024

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

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

Back to the top