Export to GitHub

jangod - issue #1

"file.locater" property in configuration file is not taken into account


Posted on Sep 15, 2010 by Massive Horse

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 Horse

In 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.

Attachments

Status: New

Labels:
Type-Defect Priority-Medium