This content has been marked as final. Show 1 reply
How can I dynamically modify the BaseClassLoader classpath? OR call an API to set the default classpath at startup?So, how can I call something or set something to make the BaseClassLoader pick up my jars...
You can add a new deployer in pre-CLASSLOADER phase, which would then dynamically add additional classpath entries to deployment unit.
* see VFSDeploymentUnit::appendClassPath / prependClassPath
Some more info about deployers and how MC' VDF works: