From: Ken A. <kan...@bb...> - 2003-06-04 12:58:47
|
If you''re using the latest CVS JScheme, i believe i removed that dependency, but i could be wrong. I but i believe the downloadable jar will have this problem. k At 06:51 PM 6/3/2003 -0400, Geoffrey Knauth wrote: >I found this old message, which helped me extend my CLASSPATH. >But (load "using/run.scm") is now needed before (load "elf/classpath.scm"). > >Otherwise you get: > ($ "java.class.path" ) > SchemeException:[[ERROR: undefined variable "$"""]] > >Geoffrey >-- >Geoffrey S. Knauth | http://knauth.org/gsk > >FROM: Ken Anderson >DATE: 02/12/2002 14:27:53 >SUBJECT: [Silk-user] Dynamic classpath > >In the latest version of Jscheme the class path used by silk.Import can be >extended. See the code in elf/classpath.scm. > >So, for example, you can start from the jar and grow the classpath as your >application requires. Here's an example: > >D:\temp\silk\silkweb>java -jar jscheme.jar > > >Jscheme 4.3.3 (02/11/2002) > > > > (load "elf/classpath.scm") >#t > > (extendClassPath "d:/java/junit3.7/junit.jar") >#null > > (junit.swingui.TestRunner.main (array String.class)) >#null > > >This brings up the JUnit GUI. > >Also, if you need to recompile a class loaded through the extended class >path you can run (replaceClassLoaders) to get a new set of class loaders so >recompiled classes can be loaded through them. (Any old objects will >behave the old way of course). > >Let me know if you have any problems. > >One current limitation is you can't recompile and reload any core Jscheme >classes. A small price to pay for this magic. >_______________________________________________ >Silk-user mailing list > > > >------------------------------------------------------- >This SF.net email is sponsored by: Etnus, makers of TotalView, The best >thread debugger on the planet. Designed with thread debugging features >you've never dreamed of, try TotalView 6 free at www.etnus.com. >_______________________________________________ >Jscheme-user mailing list >Jsc...@li... >https://lists.sourceforge.net/lists/listinfo/jscheme-user |