It is not correct to search for plantuml.jar using the "./plugins/plantuml.jar" path.
When dlt-viewer is installed on the Linux via qmake:
the executable "dlt-viewer" is placed under the "/usr/bin" path
the *.so-s of plugins are placed under the "/usr/share/dlt-viewer/plugins/" path
but plantuml.jar is NOT installed anywhere, while plugin tries to find its location under "./plugins/plantuml.jar", which does not work
The approach should be extended to:
Try to find the plantuml.jar by its default path. The default path should be somewhere under the same folder, where the settings of the dlt-message-analyzer plugin are located.
Check the availability of installed plantuml.jar by environment variables. It should be checked whether such an approach is applicable.
Add the new setting in order to allow the user to specify a custom path to the plantuml.jar
Add setting which will tell whether the default path, environment variable path, or custom path should have the highest priority
Together with that, it would be great to have similar functionality in order to check the availability of java on the target machine.
Also CMake and make builds should be extended to install plantuml.jar to the user folder.
It is not correct to search for plantuml.jar using the "./plugins/plantuml.jar" path. When dlt-viewer is installed on the Linux via qmake:
The approach should be extended to:
Together with that, it would be great to have similar functionality in order to check the availability of java on the target machine.
Also CMake and make builds should be extended to install plantuml.jar to the user folder.