cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ovidiu Predescu <>
Subject Re: [UPDATE] Scheme sitemap implementation
Date Thu, 10 Jan 2002 17:30:17 GMT
On Thu, 10 Jan 2002 14:01:26 +0100, Stefano Mazzocchi <> wrote:

> Ovidiu Predescu wrote:
> > 
> > Folks,
> > 
> > I've finished implementing the supporting functions in Scheme so I can
> > have a minimal functional sitemap that's executed in Scheme.
> <snip/>
> Way cool! :)
> Can you provide a minimal howto on how to set it up? (apologies if it's
> already there :)

Yes, sure. There's isn't much there yet, only the code I've written to
have a minimal sitemap running. In any case, to build it, here are the

- build Cocoon first:

  $ cd xml-cocoon2/
  $ sh

- build the Scheme version:

  $ cd src/scratchpad/schecoon
  $ ant webapp

The ant command assumes you have ant in your PATH. This command will
create a build/schecoon.war file. Just take it and deploy it on your
servlet container. Alternatively, for development purposes, if you're
using Tomcat 3.3, add the following file in the conf/ directory:

--- apps-schecoon.xml ---

<?xml version="1.0" encoding="ISO-8859-1"?>
   <Context path="/schecoon"
            reloadable="true" />

-- end of apps-schecoon.xml --

If you're an Emacs user, you can interact with the Scheme interpreter
in Cocoon, by following the instructions in
src/scratchpad/schecoon/emacs/README. This will allow you to update
Scheme definitions in the running Cocoon directly from the editor,
without having to restart the web application.

For now the only URL's the sitemap knows about are:


They will be served by real Cocoon pipelines, and you can use 'ab'
from the Apache distribution to test the speed of them relative to
that of Cocoon's.

I've tried to use Cocoon's jar files without any changes to the actual
source code. So far I've been successful, because of the great
customization features provided by Cocoon.

I'll have more useful features in the weeks to come, and hopefully
more user-friendly than today.

Ovidiu Predescu <> (inside HP's firewall only) (my SourceForge page) (GNU, Emacs, other stuff)

To unsubscribe, e-mail:
For additional commands, email:

View raw message