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 The comment on the change is: ------------------------------------------------------------------------------ - 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 + 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 and Java Wizard. 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? == @@ -16, +16 @@ == 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. + + I strongly recommend to lurk on the Lenya user and devel mailing list while you're test-driving 1.4-HEAD, and possibly even to subscribe to the commits list to keep track of SVN changes. === Getting Lenya === @@ -45, +47 @@ === Building === + It seems that Lenya comes with its own extended version of Ant, a "make"-like program for Java projects, and the build script uses this version rather than the system-wide ant binary. + To achieve this, all invocations of the Lenya-Ant should be done via absolute paths. But on my test machines (a SuSE 9.2 and a SuSE 9.3 system), sometimes the default ant version gets called, which apparently lacks some features. This happens with both 1.2.x, where the error is something like "undefined <if>-macro", and 1.4.x., which complains about an undefined option "-cp". + + My shotgun workaround is to do '''rpm -e --nodeps ant''', run the build skript and reinstall the ant package afterwards with '''yast2 -i ant'''. Luckily, I always do complicated builds late at night, when I'm too tired to be ashamed ;) + + Now all that's left to do is + + yourhost:/srv/lenya # ./build.sh + + Grab a coffee, and if all compiles well, start your brand-new, bleeding-edge Lenya with + + yourhost:/srv/lenya # ./lenya.sh servlet + + surf to yourhost:8888 and enjoy. + + + Remember to repeat this procedure at least once a week, lest the bleeding edge effect wear off :-D + --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
