From: Shae E. <sh...@we...> - 2001-08-26 21:37:26
|
From: jyt...@li... Subject: Jython-users digest, Vol 1 #242 - 6 msgs Date: Sun, 26 Aug 2001 12:03:14 -0700 > >Would jython support having a jar pathname pushed into the > >library path ( eg. sys.path.insert( 0, '/home/foo/application.jar!/lib' ) )? > > This feature have been added to Jython 2.1a3. I would welcome feedback > on its usefullnes in real life applications. > > regards, > finn I use jython for prototyping mostly, and this feature has made things much easier for me. this is much much easier than writing a python script into my .bashrc to add every jar in several directories to my $CLASSPATH this is a really great feature, I use it many times a day. it does confuse reflection stuff in Java though... Class.forName throws errors. ---- Shae Matijs Erisson - http://www.webwitches.com/~shae/ bRing mE fIve sQuirrels aNd nO oNe wIll gEt hUrt 13:00pm up 1 season, 1 squirrel, load average: 1+1j 0.5+2j 0.2+0.5j |