According to the documentation we can load jars dynamically at module creation time by exploiting the attribute module.classloader in the .properties file :
I spent two days trying to test this feature. It does not work. The option module.classloader seems to be simply ignored
I did not find any string named module.classloader in the XD code. But I found another one called module.classpath in this class:
The code in the above class seems to match the documentation. But unfortunalletely it does not work too. My classes are not found and I get java.lang.ClassNotFoundException
I have module option named dir4jars where I put the jars to load at creation time (when I issue job create --name xx --defintion ..). It's a directory, and I have tested the following possibilities, with both module.classpath and module.classloader :
I need the dir4jars to be absolute and outside XD home.
What's the right option to use for this dynamic load? module.classpath or module.classloader ? Is't a bug in the documentation ?
How can I set an absolute directory as I mentioned above?