Hi!

I'm struggling to get the Java-class reloading to work.
I'm not very succesful.

Does anyone have a good example to share?

I tried this, but it didn't work:

import jreload
classpath=["V:\\eonworx\\output\\contrib\\studio\\classes"]

classesLoadSet=jreload.makeLoadSet("classes",classpath)
print classesLoadSet

from classes import Hello
jreload.reload(classesLoadSet)

def rl():
    jreload.reload(classesLoadSet)

def runHello():
    Hello().sayHello()


When I run rl() the Hello-class is still not reloaded and runHello() still produces the old result.


gustav boström

the eon company
www.eoncompany.com

o +46-8-54528800
m +46-70-9575154
e gustav.bostrom@eoncompany.com