Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lenya Wiki" for change 
notification.

The following page has been changed by JörnNettingsmeier:
http://wiki.apache.org/lenya/TestDrivingLenya1%2e4-HEAD

New page:
If you feel adventurous, you might want to play with the latest development 
version of Lenya, even if you are a mere mortal like me and not a Lenya 
committer. Here's a page where I will collect my findings and all the help I 
got from folks on the Lenya mailing lists. - JörnNettingsmeier

== Why use 1.4? ==

Simple. Because it's the latest and greatest, and open source is always more 
fun at the bleeding edge. :-D

When I asked whether it would be safe and sane to adopt 1.4 for a project that 
is due by christmas 2005 (and indicated my willingness to deal with the 
occasional problem or rough edge), GregorRothfuss said:
 "the data should stay pretty stable, while the code might not. recently, a jcr 
import usecase was added that might help with future migration scenarios.

 with your deadlines, i would strongly recommend 1.4." 

Ok. Here we go.

== Prerequisites ==

For testing, I created a directory /srv/lenya, where my test installation will 
live. I also created a user and group "lenya" with no login permissions, so 
that I can run Lenya as that user. If it ever gets compromised, it buys me time 
to react, since the attacker will have very limited rights at the beginning and 
will need to exploit further weaknesses before s/he can do anything interesting 
to my box.

=== Getting Lenya ===

First, you need to check out the latest source code of Lenya-1.4:

 yourhost:/srv/lenya # svn co http://svn.apache.org/repos/asf/lenya/trunk 
lenya-1.4.x

(Check the "official" SVN documentation at 
http://lenya.apache.org/1_4/installation/subversion.html in case the procedure 
changes)

=== Getting Cocoon ===

Since 1.4-HEAD is a developer release, the docs are sometimes a little 
out-of-date. You will need the most recent Cocoon-2.1.x release from SVN, 
because the release versions do not yet include the javax.jcr package with 
special code for content repositories.

There is currently a problem with a broken link on the Cocoon download page, 
and Antonio Gallardo tells me the snapshots are currently broken. He recommends 
checking out

 yourhost:/srv/lenya # svn co 
http://svn.apache.org/repos/asf/cocoon/branches/BRANCH_2_1_X/

=== Configuring the Lenya Build ===

First of all, create your own config file:

 yourhost:/srv/lenya # cp build.properties local.build.properties

With your favourite vi, change the value of '''cocoon.src.dir''' to 
'''../BRANCH_2_1_X/'''. Since I want to play with asset uploads, I set 
'''enable.uploads''' to '''true'''. I won't bother with Tomcat yet - the 
built-in servlet engine is good enough for testing.

There is no need to build Cocoon manually - the Lenya build process will take 
care of that.

=== Building ===

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to