You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently, there is only one way how to run independent external jar extension. For example, new Zserio C++17 extension can be run by the following command:
However, this command is not supported by Java engine. Option -cp is ignored if option -jar is used.
Describe the solution you'd like
It would be probably better if Zserio core will automatically try to load all jar extensions available in the working directory (directory where the zserio.jar is located). Then, it would be for example enough just to copy binary zserio_cpp17.jar into the directory where zserio.jar is located and run the same command as usual:
Describe alternatives you've considered
We might consider to introduce new command line option which will specify the directory where to search for Zserio jar extensions and not to load them automatically. This would give users the option to disable automatic extension loading. However, this will require a little bit more complicated command line. Example:
This is possible to use but as far as I know -cp option can be used only without -jar option so users would have to remember the Zserio entry point zserio.tools.ZserioTool anyway.
Is your feature request related to a problem? Please describe.
Currently, there is only one way how to run independent external jar extension. For example, new Zserio C++17 extension can be run by the following command:
This is cumbersome and not intuitive. The intuitive command could be
However, this command is not supported by Java engine. Option
-cp
is ignored if option-jar
is used.Describe the solution you'd like
It would be probably better if Zserio core will automatically try to load all jar extensions available in the working directory (directory where the zserio.jar is located). Then, it would be for example enough just to copy binary
zserio_cpp17.jar
into the directory wherezserio.jar
is located and run the same command as usual:Describe alternatives you've considered
We might consider to introduce new command line option which will specify the directory where to search for Zserio jar extensions and not to load them automatically. This would give users the option to disable automatic extension loading. However, this will require a little bit more complicated command line. Example:
The text was updated successfully, but these errors were encountered: