Post

1 follower Follow
0
Avatar

Passing commandline parameters when launching plugin

My plugin needs a command line parameter to be passed like
java -DPYCIPRES_FILE="cipres_geneious.conf" myfile.jar
How can I pass -DPYCIPRES_FILE="cipres_geneious.conf" in geneious?
I am coding  plugin using the Geneious plugin API.

 

Madhusudan Gujral

Please sign in to leave a comment.

1 comment

0
Avatar

Hi Madhusudan,

On non-mac systems, users can set system properties and any JVM options by editing the Geneious.in.use.vmoptions file in the installation directory.  On mac systems they will need to edit the plist file within the .app bundle.

However you might want to consider another option since setting system properties can be quite cumbersome from an end user perspective.

One option might be to allow the user to configure it in the GUI via Options for an operation.  Or more generally via PluginPreferences.  See GeneiousPlugin.getPluginPreferences().

Matthew Cheung 0 votes
Comment actions Permalink