Geneious Plugin Cache Clearing
Hi Geneious Plugin Community -
I have been working to develop a custom plugin and have been installing subsequent versions of the plugin on my machine for testing. I recently installed a new version of the plugin, but I am not seeing the new fields that I have added to the "Add Meta-Data" field. I had a coworker install the updated plugin and the new field was visible. I have uninstalled the plugin, cleared my Java cache, temp files and did a system reboot, but upon reinstall of the plugin, I'm still experiencing the same behavior.
Is there another cache that is specific to plugins that I can clear? Is there something I should add to the plugin code when "Uninstall" is clicked from the Preferences page?
Thank you - Jan
-
Hi Jan,
When you refer to "Add Meta-Data", do you mean your plugin uses DocumentNoteUtilities to define the meta data type? The example we provide in the javadoc for that class demonstrates how to create the note type if it doesn't already exist. In your case I assume it already exists so it doesn't recreate the note type with the new fields within that note type. What you should do is programatically check if the fields on the existing note type are correct or not, and if they aren't just run the code that creates the note type again.
Alternatively, note type information is cached in your Geneious data location. You could switch to a new Geneious data location from preferences which will reset all your note types.
Best regards,
Matt.0
Please sign in to leave a comment.
Comments
1 comment