From: <Mat...@i2...> - 2001-10-25 23:50:23
|
I'm having a problem loading python modules from a jar file. I'm trying to package up the jython/Lib dir into a jar for use within an embededded interpreter. If I jar up the contents of Lib into jython-lib.jar and add "-Dpython.path=jython-lib.jar!Lib" to the launch of my app, it all works fine. If I first byte compile the contents of Lib and jar it up, that also works fine. However, if I jar up _just_ the byte compiled files in Lib, then I get module import errors. Any idea what the problem is? I don't mind doing the second scenario so long as someone can confirm that jython does in fact use the byte compiled files and not the py files when they both exist in the jar. Thanks, Matt mat...@i2... |