SISCweb questions
"Gerardo Horvilleur" <[email protected]> Sun, 9 Mar 2008 10:07:33 -0600
| Newsgroups | gmane.comp.java.sisc.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I'm interested in using SISCweb for a project. Besides the
continuations style of web programming I'm also interested in being
able to prototype code and test it without having to restart Tomcat.
But I haven't been able to understand how I should do it.
When I use telnet to connect to the REPL I try to do something line this:
(class-path-extension-append! '("WEB-INF/scm/"))
(require-extension (lib examples/test))
And it responds:
Error: library examples/test not found
I discovered that it is appending "WEB-INF/scm/" to what my current
directory was when I started Tomcat, instead of using the webapp's
main directory. As a workaround I can do:
(class-path-extension-append!
'("file:/Users/mago/progs/apache-tomcat-6.0.14/webapps/pruebas/WEB-INF/scm/"))
And now, require-extension works.
But then I have another problem. This will work only the first time I
want to load the library and import the module. Afterwards, as SISC
knows it has already loaded that library and imported the module, I
can't load the file again to test the changes. How should I do this?
Thank you,
--
Gerardo Horvilleur
[email protected]
5813-0830
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/