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
Wiki Markup {{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.shsftp-copy-index.txt
- a command file for sftp.shsftp-mkdir-children.txt
- a command file for sftp.shsftp.sh
- an sftp wrapper that does not do anything interestingtomcatctrl
- an almost but not quite LSB-conformant init script for tomcatWiki Markup {{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.
Wiki Markup |
---|
_\[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 returnparameters.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" pageintroduction.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" menulive.xsp
- placeholder, adds nothing to any menu
build/lenya/webapp/lenya/content/rc
Revision control stuff. Contains four files:
fileReservedCheckInException.xsp
- error handlerfileReservedCheckOutException.xsp
- error handlergenericException.xsp - error handler
Wiki Markup {{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.
Wiki Markup |
---|
_\[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).
Wiki Markup |
---|
_\[Verify!\]_ |
build/lenya/webapp/lenya/modules/jcr
Generic jcr handler.
Wiki Markup |
---|
_\[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.
build/lenya/webapp/lenya/modules/links
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.