Re: [Mathlib-develop] rehashing
Status: Beta
Brought to you by:
st_mueller
From: Stefan M. <st...@he...> - 2007-01-02 16:25:58
|
Hi Bob, I just added support for rehashing of m-files: - added a new function rehash.java which can be called at any time - added a method to the interpreter which will call rehashing after each execution of a call to the interpreter Please check out the latest files from CVS and send feedback to me. Happy new year, Stefan. Bob Weigel wrote: > Hi Stefan, > > Indeed, my experience is the same as yours. My original description was > poor. JMathlib will find new files in its path but does not recognize > when the file has changed. > > Bob > > On 11/26/06, *Stefan Mueller* <st...@he... > <mailto:st...@he...>> wrote: > > Dear Bob, > > > What is the command to have the loadpath re-scanned? When I > create a .m > > file in the path it is not found unless I re-build the project. In > This is funny. > I just checked on my machine. JMathLib will scan all directories > when it > FIRST looks for a particular file (e.g. foo.m). Once > this file (e.g. foo.m) has been executed once, it will be cached. So far > so good. > > I also added an m-file to a directory (classes/mathlib/functions/...) > during a JMathLib session. It worked great. > > Did you put the new file in a classes-subdirectory? > > > > Matlab the check is made before returning to the prompt or by calling > > rehash.m. Is there a similar function in JMathLib? I found > > createfunctionslist.m, but this looks like it is only used when > JMathLib > > is being run from an Applet. > I put this on the wishlist. > |