I'm running into several problems with load/require and I'll try to post items separately.
It appears that inside a .brl file,
(load "package.misc.foo") fails.
I suppose it's because the "current directory" is at the level of the .brl files, whereas package.misc.foo.class lies in WEB-INF/classes/package/misc/
How could I have the class loaded?
(The class is compiled Kawa Scheme code).
sitedefs.scm is a priori not an appropriate location, because the class should only be loaded on demand.
From: Bruce Lewis <brlewis@us...> - 2004-05-27 14:27:15
I've only done this sort of thing in sitedefs.scm, so I'm not sure what
One thing I would try is putting a procedure in sitedefs.scm that loads
the class, then invoking that procedure in the BRL file.