Differences between revisions 6 and 7
Revision 6 as of 2007-07-15 11:43:51
Size: 1825
Editor: BobHarner
Comment: Renaming Lenya 1.4 to 2.0
Revision 7 as of 2009-09-20 23:27:48
Size: 1825
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 29: Line 29:
This directory will house all global lenya code. This is where things become interesting, so there is an extra page for it: ["DirectoryStructureLenya2.0-HEAD-build-lenya-webapp-lenya"] This directory will house all global lenya code. This is where things become interesting, so there is an extra page for it: [[DirectoryStructureLenya2.0-HEAD-build-lenya-webapp-lenya]]

This page describes the directory structure of Lenya under the build/ directory.

./build/lenya/

./build/lenya/src/

This subdirectory contains java code (org.apache.cocoon.* and org.apache.lenya.*).

  • [Why is this needed in the build tree? Can someone explain?]

./build/lenya/webapp/

This subdirectory contains two files

  • global-sitemap.xmap
  • sitemap.xmap

They are the "root" sitemaps that are used if no local ones are found in the publication or its templates.

  • [What is the difference between these two?]

It also contains the following sub-directories:

./build/lenya/webapp/jcr-repository

This directory will house the Java Content Repository if you choose to use it (it can replace the old file-based storage under your publication's content/ dir). See JcrConfiguration for details.

./build/lenya/webapp/lenya

This directory will house all global lenya code. This is where things become interesting, so there is an extra page for it: DirectoryStructureLenya2.0-HEAD-build-lenya-webapp-lenya

./build/lenya/webapp/WEB-INF

This is servlet-container housekeeping stuff. Among others, it contains:

  • the web.xml file which has all the properties of the Lenya web application (the servlet) that your servlet container needs to know.

  • the logs/ subdirectory where your Lenya will dump all its little ailments and complaints. Important for debugging.
  • the cocoon.xconf file, which your custom resource types are patched into using XPatch files (see 8http://lenya.apache.org/1_4/reference/resource-types.html]).

[I have not the faintest idea what the other things in this place are for. My guess is they don't pertain to MereMortals.]

DirectoryStructureLenya2.0-HEAD-build (last edited 2009-09-20 23:27:48 by localhost)