Xcos run-time version check of {batik,hdf-java,jgraphx} fails whereas compilation works
Reported by Jérôme Carretero
After a few years without using Scilab (shame on me) I decided to see what's new.
After a successful compilation of today's master branch (5.3.1-596-gd2f9227
(tag 5.3.2 is not on a baseline)), I found that Xcos performs a run-time check of the versions of jgraphx, batik and hdf-java, and expects very specific versions of them.
At first it seems weird to even check for exact minor versions.
Also weird, considering the fact that the saxon version is not checked at all, when it definitely should be (usage of an old version, which does not use the same API as the most recent ones).
I suggest that if a specific version is really needed, then a comment be put somewhere to explain the limitation.
But it's probably not needed.
I removed the checks and the code is currently compiling... on my netbook.
Depending on the outcome of the compilation and run-time test, I'll either suggest additional documented checks in the configure.ac file, or relaxing the version restrictions in configure.ac and Xcos.java.
Of course I'll try to provide code for that.