Re: Lenya & Cocoon

Andreas Hartmann <[email protected]> Thu, 03 Apr 2003 18:23:59 +0200
Newsgroups gmane.comp.cms.wyona.user
Message-ID <[email protected]>
Hi Ines,

> But now I notice that it's not a complete Cocoon version that I have
> installed during the process.
> Can someone tell me how to get the "old", the common Cocoon framework on
> my machine?

the problem is that we can't keep Lenya in sync with the current
Cocoon version so we decided to declare a Cocoon build as "official"
for Lenya. You could try to download a nightly Cocoon 2.1 build from
the same date so that the chances are good to get a similar code base.
But I don't know if it is still available.

Michael is currently trying to use the CVS version, if it works
you can use that.

> What files am I missing? Do I simply copy them out of the regular
> distribution. Am a running the risk that something won't work after
> that? :-)

When the CVS version works, all you have to do is

Install Cocoon: http://xml.apache.org/cocoon/installing/index.html
- check-out Cocoon
- build the Cocoon webapp

Configure Lenya
- in build.properties, set the src.cocoon.dir variable to the
   location of the Cocoon webapp you just built
- run "ant install"

> For instance, I wanted to try out the bonebreaker examples from
> cocooncenter.de and that is not working at the moment because of some
> org.apache.cocoon.matching.WildcardURIMatcherFactory.

This can be a matter of the bonebreaker files. They are quite old
now, maybe I have to update them.

HTH and good luck,
Andreas