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

build/lenya/webapp/lenya

This directory contains all global lenya code as well as the working copies of your publications and all customizations (modules).

There are a couple of sitemaps:

  • i18n.xmap - internationalization transformations (dereferencing of <i18n:*> tags)
  • import.xmap
  • lenya.xmap
  • module-resources.xmap
  • resources-shared.xmap
  • resources.xmap
  • usecase.xmap - handling of global usecases
    [Please verify and fill in the blanks.]

And also a number of sub-directories:

build/lenya/webapp/lenya/bin

contains various scripts and command files for sftp transactions.

  • copy-recursive.sh
  • replicate.sh
  • sftp-copy-children.txt - a command file for sftp.sh
  • sftp-copy-index.txt - a command file for sftp.sh
  • sftp-mkdir-children.txt - a command file for sftp.sh
  • sftp.sh - an sftp wrapper that does not do anything interesting
  • tomcatctrl - an almost but not quite LSB-conformant init script for tomcat
  • util.xml
    [Fill in the blanks. This looks like non-essential administrative stuff that someone felt like sharing with the world.]

build/lenya/webapp/lenya/config

Global configuration. No Files. Contains the following subdirs:

build/lenya/webapp/lenya/config/cocoon-xconf

Numerous XPatch files for various global usecases.

[Why is this needed? Isn't the global cocoon config patched at build time?]

build/lenya/webapp/lenya/config/parameters

Contains one file:

  • default.xsp - a Java server page that seems to return parameters.getParameter("value", ""), whatever that means

build/lenya/webapp/lenya/config/rc

Revision-control configuration. Contains one file:

  • revision-controller.xconf - defines that the rc mechanism uses "content/rcml" for housekeeping and "content/rcbak" as a backup directory

build/lenya/webapp/lenya/config/scheduler

Publication scheduler stuff. Contains one file:

  • scheduler.xconf - seems to define "triggers" for scheduling

build/lenya/webapp/lenya/content

Global content (pages you will see when working with Lenya). Contains two files:

  • about.xml - the "About Lenya" page
  • introduction.xml - the "Welcome to Apache Lenya" page you get at the root of the servlet container

There are also the following sub-directories:

build/lenya/webapp/lenya/content/exception

Contains one file:

  • missing-language.xsp - the error page you get when a non-existent language version is requested

build/lenya/webapp/lenya/content/menus

The menu contents of the Lenya GUI. Two files in here:

  • admin.xsp - adds the "Logout" usecase to the "file" menu
  • live.xsp - placeholder, adds nothing to any menu

build/lenya/webapp/lenya/content/rc

Revision control stuff. Contains four files:

  • fileReservedCheckInException.xsp - error handler
  • fileReservedCheckOutException.xsp - error handler
  • genericException.xsp - error handler
  • view.xsp - seems to create a "View" page with some DOM magic, quite abstract.
    [Please explain when they are used, by whom, and what they do.]

build/lenya/webapp/lenya/content/search

Currently empty.

build/lenya/webapp/lenya/content/util

Contains one file:

  • empty.xml - an empty xml file to be used as a dummy when everything happens in the XSLT

build/lenya/webapp/lenya/content/xopus

Contains one file:

  • error.xml - a placeholder error message for the commercial XOPUS editor.

build/lenya/webapp/lenya/modules

Contains the global modules, each in their own sub-directory:

build/lenya/webapp/lenya/modules/bxe

The Bitflux editor.

[Why is there no Kupu modules here???]

build/lenya/webapp/lenya/modules/cforms

Cocoon Forms handler.

build/lenya/webapp/lenya/modules/homepage

The handler for the "homepage" resource type.

build/lenya/webapp/lenya/modules/jackrabbit

Configuration files for the jackrabbit implementation of the Java Content Repository API, and the implementation of the JackrabbitRepositoryFactory (java code).

[Verify!]

build/lenya/webapp/lenya/modules/jcr

Generic jcr handler.

[Verify!]

build/lenya/webapp/lenya/modules/lenyadoc

The LenyaDoc source factory implementation (java code).

build/lenya/webapp/lenya/modules/linkcheck

Java code, a client-side javascript helper and usecase for the link checker.

The handler for the "links" resource type.

build/lenya/webapp/lenya/modules/lucene

The glue for the integration of the Lucene search engine, usecases and xslts for presentation.

build/lenya/webapp/lenya/modules/notification

The notification framework to inform users about workflow states.

build/lenya/webapp/lenya/modules/opendocument

The handler for the "OpenDocument" resource type.

build/lenya/webapp/lenya/modules/sitetree

The sitetree module. Provides the breadcrumbs, menus and tabs.

build/lenya/webapp/lenya/modules/svg

The handler for Scalable Vector Graphics. Uses the Apache Batik SVG renderer that's included in Cocoon.

build/lenya/webapp/lenya/modules/webdav

Usecases for WebDAV clients (up/download of content via the WebDAV protocol in order to use external editors on the client machine).

build/lenya/webapp/lenya/modules/xhtml

The handler for the "xhtml" resource type.

build/lenya/webapp/lenya/pubs

This directory holds all publications (yours and the default ones). There is a brief description of its contents at OverviewPublicationDirectories.

build/lenya/webapp/lenya/resources

build/lenya/webapp/lenya/xslt

  • No labels