Modifying Classpath at Runtime
Java - - Posted on August, 27 at 4:19 pm
A hackish way of modifying the classpath at runtime can be done in a way described at the java forums Modifying Classpath at Runtime
A cleaner approach is to configure your own classloader and set it as the threads context classloader
This is extremely useful if your unit test cases have dependencies that you would like to load at runtime
Posted in Java |