6 posts categorized "lenya"

03/14/2011

Apache Lenya 2.0.4 Released

The Apache Lenya team released version 2.0.4 today.  Lenya is a CMS, written in Java.  This release fixes some WebDAV issues and some smaller bugs.  In addition, the TinyMCE module has been updated to suppoer TinyMCE v3.0.X.

The Lenya team does not provide downloadable binaries; source downloads are available from the downloads page.  Installation isn't all that hard.  There are installation instructions available; there are even some old instructions I put together for building Lenya with Tomcat 6.

01/20/2010

Apache Lenya 2.0.3 Released

The Apache Lenya project released version 2.0.3 of their java and xml-based content management system earlier today.   No binary downloads are yet available but building Lenya from source isn't very scary.  I posted a Building Lenya with Tomcat 6 article on this site last year that can help. 

There have been a few bugs fixed in this release and some new functionality has been enabled as well including the addition of CodeMirror as a source editor.

05/03/2009

Lenya: Building With Tomcat 6

These instructions are for UNIX and UNIX-like operating systems. Unpack the Lenya source distribution somewhere. Copy $LENYA_SRC_HOME/build.properties to $LENYA_SRC_HOME/local.build.properties. I changed the name of my original build.properties file after creating the copy to make sure it doesn't get used but this isn't required. Edit local.build.properties and make the following changes:

Place a comment in front of the following entries: web.app.server=Jetty, web.app.server.jetty.port=8888, and web.app.server.jetty.admin.port=8889. Remove the comment in front of web.app.server=Tomcat.

Set the value of tomcat.home.dir so that it matches your tomcat home directory destination.

Tomcat 6 is different from previous versions of tomcat in that the /common/endorsed directory has been removed from default installations. I'm not really sure why this was done and I'm not really sure what the "correct" location should be for common, shared libraries but I'm going to write them to $CATALINA_HOME/lib so the value of tomcat.endorsed.dir in local.build.properties will be changed to ${tomcat.home.dir}/lib. I am tempted to write them to ${tomcat.home.dir}/webapps/lenya/WEB-INF/lib and may update this article later if that works but since the directory does not yet exist within my tomcat installation, I'm afraid I'm going to get a build error.

Change the value of src.java.version to 1.5. Save the file, then you're ready to build Lenya.

Run $LENYA_SRC_HOME/build.sh. On my non-pro macbook, build time was 81 seconds.

The build script places 5 jars in $CATALINA_HOME/lib: xml-apis-1.3.04.jar, xercesImpl-2.9.1.jar, xalan-2.7.1.jar, jakarta-regexp-1.5.jar, and jakarta-bcel-20040329.jar. All binaries and files that would normally be included in a war file have been written to $CATALINA_HOME/webapps/lenya.

Start tomcat 6 up, point your browser to http://host:port/lenya/ and you should see the Lenya start page.