does anybody know how to get jython to find imports (java imports in =
particular) in the current classloader without having to tell it =
explicity where the jars are located?
for example, suppose i have class org.foo.Bar that is in the classpath =
not by being in the system classpath (i.e. java.lang.class system =
property), but by some other means (like a URLClassLoader, an executable =
jar, etc.), how can i get this:
from org.foo import Bar
to work without telling jython where on the file system the jar =
containing org.foo.Bar is?
thanks,
kevin.
|