Open smalers opened 1 year ago
Actually, with some recent changes, there needs to be more granularity to handle plugin versions for different TSTool versions. Technical considerations include:
META-INF
or other) which version of TSTool is required for plugin compatibility. Then only compatible plugins will be loaded.plugins
folder is globally searched regardless of which TSTool version is run and the plugin folder tends to have a generic name such as owf-tstool-aws-plugin
, under which resides the plugin jar
file and its dependencies. If the TSTool plugin loader is smart enough to know which plugins are compatible with the current version, then multiple versions of a plugin can exist, such as owf-tstool-aws-plugin-1.2.3
. Then there would be no need to remove or move old plugins, other than normal housekeeping to save disk space. This would allow old versions of TSTool to work with old versions of plugins.plugins-old/
folder and related documentation.Until something is implemented, there is risk that incompatible plugins will generate errors or simply not run.
Subject of the issue
Need to warn when multiple versions of the same plugin are loaded. This can happen because the user forgets to remove the old plugin version jar file. The Commands(Plugin) menu will generally list the same menu twice, which is a clue and might be the easiest way to check for duplicates.
Environment