From: <Ron...@Ne...> - 2001-03-30 21:03:11
|
The JPython interpreter understands a property (if set) called python.path. This is described in the Jython web docs (look for Registry or Properties). If you provide that property, then it treats that path as its search path when looking for JPython source code (...it's the classpath of JPython files...). Around here, we make up our own batch files that mimic jython.bat, adding the properties on the command line. If you have a lot of properties, then you want to use the Registry. We prefer the batch files because we want to convert environment variables into properties (the real system info gets converted into the form Java wants, which is why Jython wants certain properties set up if you want related behavior). Brad Buchsbaum <bbu...@ar...>@lists.sourceforge.net on 03/30/2001 12:55:46 PM Sent by: jyt...@li... To: <jyt...@li...> cc: Subject: [Jython-users] caling jython scripts on Windows ME Hi all, Just curious if anyone knows of a way I can set things up on a Windows ME box so that I can call a Jython script with out including the entire path (when the script is on the system path). Currently, I have to provide te entire path of a script even if it is on the system path. This is not the case for Windows 2000, which has the convenient PATHEXT variable. Nor on Unix, of course. thanks, Brad Buchsbaum _______________________________________________ Jython-users mailing list Jyt...@li... http://lists.sourceforge.net/lists/listinfo/jython-users |