Skip to main content

Testing my Java plugin

Comments

1 comment

  • Matthew Cheung

    Hi Jonathan,

    Did you start with the plugin development kit?  It should allow you to run Geneious Prime with your plugin from source code, which will let you skip the process of re-installing.  All of the examples in that development kit have an associated run configuration which you can copy for your plugin.  The key thing here is to make sure you also modify the specified "extraPlugins=your-plugin-classname" which is specified as a argument when running the configuration.

    Some IDEs will also allow you to hot reload code into a running program which means you can test changes without even restarting Geneious Prime.  If you're using IntelliJ see https://www.jetbrains.com/help/idea/altering-the-program-s-execution-flow.html#reload_classes

    Hope that helps.  Let us know if you need assistance with the development kit or if you have used a different starting point.  For example if you are familiar with Gradle then you could also copy and modify https://github.com/Biomatters/geneious-mira 

    0

Please sign in to leave a comment.