15.12.2009 21:12, Brian Merrell kirjoitti:
I am still really struggling with how to control my system path when packaging a Java/Jython application into a single jar.  For some reason it does not see the Lib directory (contained within the Jar) and all attempts to add Lib to the sys.path fail (presumably because it is looking for that on the local file system and not within the jar).  I've also tried adding the name of the jar itself myjar.jar\\Lib to the path also without success.  How do I add a directory *within* a jar to the path of a PythonInterpreter?
The only way would be to use a special class loader, which is a lot harder than just packaging the Lib directory as its own jar file.

-brian
------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________ Jython-users mailing list Jython-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jython-users