Settings Editor does not show changes made to Properties.xml

The Settings Editor does not show changes I make in properties.xml

I'm using Eclipse and have tried Project Clean, Project Build All.

The changes do appear in the settings.json file in /bin but the Settings Editor does not show those changes.

Any idea what I have to do to get the Settings Editor to use the latest settings.json in /bin ??

  • Did you rename your project but keep the manifest ID the same?  You might want to try clearing the whole temp directory used by the sim.

  • Ahhh... another pointer. 

    What temp directory used by sim ?

    Where do I find that ?

    Thanks Jim

  • I haven't renamed the project but I did move it to a different directory structure as described in another thread.

    I thought I was past all of the recovery that was required by that.

    In chasing this problem, I eventually deleted all meta data in the workspace and reimported the project.

    That seems to have gotten the Settings Editor back in sync.... ONCE.

    Now I'm back to making changes in the Properties file that appear in the .json file but are not reflected in the Settings Editor.

    There has to be a better solution than deleting the workspace and starting over every time I change Properties.

    Whatever is going on behind the scenes with all the meta data, hidden operations and hidden temp directories is truly and deeply problematic...

    Any chance of a full blown solution so I can stop fighting with the tools and resume work on my project ???????

  • What temp directory used by sim ?

    Where do I find that ?

    As mentioned in the other thread:

    Not directly related to your problem, but when you send settings to the simulator and run apps, the actual .PRG (program binary) and .SET (settings file) go to the simulator's working folder: %TEMP%\GARMIN, The layout of this folder is just like the layout of a real device's folder -- apps go under APPS\ and app settings go under APPS\SETTINGS.
  • I found the GARMIN temp directory and deleted it entirely.

    The next test run resulted in the Settings Editor showing the new / correct fields from the Properties file.

    I made a small change to text in the Properties file, rebuilt and reran the app, then re-ran the Settings editor.

    The change made does not appear in the Settings Editor.

    So removing the GARMIN temp directory resynced the Settings Editor only once.

    If deleting the workspace and starting over, and deleting the Temp directory and starting over don't work, what's next ?

  • Did you try changing the application id in manifest.xml as Jim implied?

    You can use this site to generate a UUID (https://www.uuidgenerator.net/version1). Take the generated UUID, remove dashes, and replace the id in manifest.xml:

    <iq:application entry="yourApp" id="<NEW UUID>" ...

  • How are you building and running the app?  The run mene and a run config?  What's the timestamp of the settings.json in the projects bin directory?  Both it and the prg should have a timestamp for when you built them.

  • I am using a run config file and the time stamps on settings.json and on the .prg file in /bin are the same and are correct.

    I haven't tried changing the UUID for the app. I have 2 UUIDs that I use... one is for my Beta version and the other is for a public version, both are in the app store so changing the UUID will create problems.

    I guess I could generate another UUID and see what effect that has, but even if it works, that's no solution for an app that's public in the app store.

  • Do you know where the Settings Editor gets it's idea of what should be displayed ?

    Apparently it's not coming from settings.json in /bin

  • That's exactly where it gets it.

    In the sim, what happens if you do file>edit persistent storage>edit Application.Properties data?