From: Robert DiFalco <rdifalco@tr...> - 2003-10-16 00:26:31
I put the Jython Interpreter in it's own classloader so that I can
reconstruct it in a new classloader if I detect that my scripts have
changed. The parent classloader happens to be an URLClassLoader.
The problem I have is that if I don't parse all my class annotations and
add them one by one to the
Py.getSystemState().packageManager.addJarToPackages( URL ) I get a "No
module named core" exception on an import line like so:
from com.tripwire.core import CoreException
I guess the solution is to do this, but it seems odd because it
re-requests every jar in my system from my CodeBase Server even though
those jars are already present in the Parent classloader.