
jangod - issue #1
"file.locater" property in configuration file is not taken into account
What steps will reproduce the problem? I want to use my own FileLocater class eg MyFileLocater. So, I write my own jangod.config.properties file.
What is the expected output? What do you see instead?
ResourceManager.getFullName doesnt call my specific MyFileLocater.getFullName method
What version of the product are you using? On what operating system? 0.28
Please provide any additional information below. Thanks for the work
Comment #1
Posted on Sep 21, 2010 by Massive HorseIn fact, my custom class is not load, because Class.forName(locaterClass) must be changed to Thread.currentThread().getContextClassLoader().loadClass(locaterClass).
I attach my correction for net/asfun/jangod/base/ResourceManager.java.
- ResourceManager.java 3.04KB
Status: New
Labels:
Type-Defect
Priority-Medium