Configuring plugins

User c23c5e9da4

30-03-2006 18:12:14

Is there a way other than modifying the xjars/plugins.properties in the MarvinBeans.jar to disable plugins so they don't appear in the Tools menu? Is there a way to point MViewPane at a different config file?

ChemAxon fb166edcbd

31-03-2006 13:27:47

Yes, you can specify another config file in the "toolfiles" marvin parameter in $HOME/.chemaxon/marvin.properties (Linux) or $HOME/chemaxon/marvin.properties (Windows).


You can even specify more file names, separated by spaces - their contents will be merged. The file names are taken relative to your CLASSPATH.





Example setting in marvin.properties:


Code:



toolfiles=tmp/a.prop,tmp/b.prop








In this case the tmp/a.prop and tmp/b.prop files will be read where file names are taken relative to the system CLASSPATH.





You can just as well edit the xjars/plugins.properties file,


rows starting with a '#' character are skipped and taken as comments. I think this latter method is simpler.