[Bese-devel] Configuring New Applications to Launch with ucwctl

Ties Stuij cjstuij at gmail.com
Fri Jul 28 07:35:30 UTC 2006


On 7/28/06, AJ Armstrong <aja at clanarmstrong.com> wrote:
> Hello, all
>
> I am developing an install script (ebuild) for ucw-dev for Gentoo.
> Everything is working fine, including dependancy building, and the example,
> l10n and admin applications work fine out of the box - both if launched from
> sbcl (using (load " start.lisp")) and if launched as a service (using
> /usr/bin/ucwctl -l sbcl start).
>
> Notably, when launched using ucwctl, the settings in /etc/ucw/conf.lisp seem
> to be significant.
>
> The issue appears when I install the ucw-intro application (from Ties
> Stuij's UCW Intro).  It loads just fine when launched from sbcl (load "
> start.lisp"), but launching with ucwctl fails with the errors listed at the
> end of this post (in the ucw.dribble log).

Well, yes, api changes abundant. It was mentioned on this list that
the current complex ucwctl way will perhaps/probably disappear in the
near future. I don't know what's the status on that, but then again,
luca (who made the setup) wants to keep it for debian anyway it seems.
You should talk to him perhaps. You packagers/ebuilders might have
more use for this kind of thing than the avarage user (i actually use
it but i don't really care if it stays in or if it goes).

Concerning applications that get loaded through applications.d, i
don't get the error you get with sbcl 9.14 on linux. usually what i do
is not make the changes you made in start.lisp, because that's the
point of applications.d i thought, but if you do it my way, you need
to add

(ucw:register-application ucw:*default-server*
ucw-intro::*ucw-intro-application*)

At the bottom of start.lisp after (ucw:create-server)... due to some
ucw code changes i guess. This also goes against the ucwctl purpose
i'd say but alas. I just changed the intro to conform. But also with
your setup i don't get errors, not with the downloadable ucw-intro
sources anyway. Maybe there's an inconcistency in the text.

ps if you find bugs or want to add info in the text, whole chapters
perhaps, you might have noticed the intro is on the ucw trac wiki
nowadays. By all means EDIT IT!! Ask Erik Enge for a common-lisp.net
account and log in.

greets,
Ties



More information about the bese-devel mailing list