when I don't set scmdir via <init-param> inside WEB-INF/web.xml, it defaults to /usr/local/com/, thus BRL attempts to load /usr/local/com/brl/sitedefs.scm -- and complains.
How can I create .jar/war archives, complete with brl/kawa.jar and all .scm files, that do not depend on a fixed pathname to be set in web.xml?
I mean, I cannot write <init-param><param-name>scmdir /home/foo/bar into web.xml because it will be different on every machine and instance of tomcat/jetty/whatever.
And I wouldn't want people to have to edit the web.xml file inside the archive before being able to run it.
Ideally (in my possibly short-sighted view), the default pathname would be relative to the HTTP engine, and I could give my colleagues a .jar or .war file that they just extract into their local server.
BTW, I found a nice trick for the initialization of brldir:
<param-value>.</param-value> allows BRL to find *.brl files in the top-level directory (e.g. webapps/myapp/*.brl).
Without that, it would look for webapps/myapp/myapp/*.brl (as I already reported long ago).
Thanks for your help,