I would like the ability to load javahelp content from a custom location outside the classpath. This location could change during application's life and could be on a shared network device.
Unfurtunately, the HelpSet class is expecting a classloader, so I guess my helpset files must be in the classpath, or there is another way? Thanks in advance.
This should be possible via creating and using your own ClassLoader. The most likely candidate ClassLoader that you will want to use is URLClassLoader.
You probably have code that looks something like this:
You need to change the line where you get your ClassLoader to get your own based on the shared directory, instead of the one based on the system class path. So something like this: