From: Josh J. <j.j...@mc...> - 2006-08-27 01:41:51
|
Sorry for the second note...after thinking for a minute perhaps "jreload" would work. I have never used it but you may want to look into its usage. - Josh ----- Original Message ----- From: "Josh Juneau" <j.j...@mc...> To: <jyt...@li...>; "Eric Brown" <yog...@ya...> Sent: Saturday, August 26, 2006 8:38 PM Subject: Re: [Jython-users] How to extend classpath after jython has beenstarted >I know that you can do the following to adjust your classpath while in the > Jython command shell... > > import sys > sys.path.append('path and jar') > > ...but it does not allow you to use the newly entered JAR.. I think that > the Jython command line reads the classpath at entry only...so even though > you can adjust the classpath, you cannot use the newly added JAR. > > Does anyone else know if there is a way to "reload" the classpath from > within the Jython command shell? > > The best way (that I know of) to work around this issue is to have all of > your JAR files located in one directory, and then add them to the > classpath > prior to using Jython. > > - Josh > > ----- Original Message ----- > From: "Eric Brown" <yog...@ya...> > To: <jyt...@li...> > Sent: Friday, August 25, 2006 11:57 PM > Subject: [Jython-users] How to extend classpath after jython has been > started > > >> If I want to import something from a jar file that is not in the >> classpath before I started jython, is there a way to do so without >> restarting jython? >> >> Thanks, >> Eric >> >> >> ------------------------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job >> easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache >> Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Jython-users mailing list >> Jyt...@li... >> https://lists.sourceforge.net/lists/listinfo/jython-users > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Jython-users mailing list > Jyt...@li... > https://lists.sourceforge.net/lists/listinfo/jython-users |