different libs in single framework
Posted: Fri May 20, 2016 6:32 pm
Hi,
the requirement is to have a framework that works with different oxygen versions. And this framework includes a saxon extension library. Since Saxon has changed the internal interface from 9.5 to 9.6 a library that works with oxygen 16.1 won't work with oxygen 17.0.
Now the question is if there is some good way to provide both libraries (for saxon 9.5 and 9.6) in different folders and configure the framework in such a way that - depending on the oxygen version - the right library will be put into the classpath.
I'm already aware of the variable $env()$ but this would require the user to set environment variables which is not very user frriendly...
Thanks and regards,
Patrik
the requirement is to have a framework that works with different oxygen versions. And this framework includes a saxon extension library. Since Saxon has changed the internal interface from 9.5 to 9.6 a library that works with oxygen 16.1 won't work with oxygen 17.0.
Now the question is if there is some good way to provide both libraries (for saxon 9.5 and 9.6) in different folders and configure the framework in such a way that - depending on the oxygen version - the right library will be put into the classpath.
I'm already aware of the variable $env()$ but this would require the user to set environment variables which is not very user frriendly...
Thanks and regards,
Patrik