Hi,
"Current stable version of Apache Lenya is 1.2.4. This is the recommended
version for production." - and for learning how to use Lenya!
For new Lenya users, I'd recommend following the instructions here:
http://lenya.apache.org/docs/1_2_x/installation/source_version.html
I'd also recommend:
a) Using Jetty until you're more familiar with Lenya (Tomcat can be a
distracting headache at first) - even if eventually you want to use Tomcat
or something else.
b) Building Lenya from source as described (if you want to modify
anything, you will need to re-build Lenya so the binaries are next to
useless except for, perhaps, a cursory evaluation of Lenya).
c) Don't worry about integrating with Apache httpd until later.
Following these instructions works flawlessly as described on BSD / Linux.
I found this out the hard way as I initially tried to use Tomcat and ran
into library trashing problems on BSD. When the instructions "recommend"
you create a directory (e.g., at /usr/local/lenya/) to hold the cocoon and
lenya sources, they really mean "If you don't do this then it may not work
without fiddling and you're on your own".
While I'm here, I'd also strongly recommend using an editor with colour
XML syntax highlighting (gedit is good). Creating bookmarks in gedit *and*
soft links from your home directory to the leny build directory and your
lenya *publication* source and build directories will save you getting
RSI.
Re-building Lenya for every minor change quickly gets tiresome. You can
get away with directly altering most things in your publication build
directory (and the results of changes will appear immediately without a
re-build or re-start). Just *don't forget* to copy your changes back to
the corresponding publication source directory before you re-build!
Regards,
On Tue, 24 Oct 2006, Steffen Schwigon wrote:
Date: Tue, 24 Oct 2006 15:51:14 +0200
From: Steffen Schwigon <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: Lenya Users <[email protected]>
Subject: First steps: comments to Lenya Tutorial
Hi!
After years of abstinence I'm back trying Lenya.
I followed the Tutorial at
http://lenya.apache.org/docs/1_2_x/tutorial/index.html
I found some minor issues regarding the Installation guide (Part 2).
I don't know who maintains them, therefore in this list:
- generally some of the verbatim code multilines have wrong newlines
- In Step 7: Unzip and build Cocoon, I had to use the
local.{build,blocks}.properties from the subdir src/cocoon.
- In Step 9: Configure and install Lenya, the installation into
tomcat didn't work, because ./build.sh failed with
Target `install' does not exist in this project.
I linked the subdir lenya-1.2.4/build/lenya/webapp/ into tomcats
webapp subdir as "lenya" which worked but I'm not familiar with
Tomcat and not sure whats the official way.
Besides that, that tutorial worked very well, especially better than
the more visible but too generic "Install instructions" with which I
had a lot more problems. Maybe the install instructions should copy or
at least MORE VISUALLY ADVERTISE the tutorial for beginners.
Thanks so far.
Expect me to have some questions in the future. :-)
GreetinX
Steffen
--
Steffen Schwigon <http://renormalist.net>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
[EMAIL PROTECTED]
SDF-EU Public Access UNIX System - http://sdf-eu.org
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]