This page describes the directory structure of Lenya under the build/lenya/webapp/lenya directory.
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:
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 tomcat{{util.xml}} \\ _\[Fill in the blanks. This looks like non-essential administrative stuff that someone felt like sharing with the world.\]_ \\ |
Global configuration. No Files. Contains the following subdirs:
Numerous XPatch files for various global usecases.
_\[Why is this needed? Isn't the global cocoon config patched at build time?\]_ |
Contains one file:
default.xsp
- a Java server page that seems to return parameters.getParameter("value", "")
, whatever that means
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
Publication scheduler stuff. Contains one file:
scheduler.xconf
- seems to define "triggers" for scheduling
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:
Contains one file:
missing-language.xsp
- the error page you get when a non-existent language version is requested
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
Revision control stuff. Contains four files:
fileReservedCheckInException.xsp
- error handlerfileReservedCheckOutException.xsp
- error handlergenericException.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.\]_ \\ |
Currently empty.
Contains one file:
empty.xml
- an empty xml file to be used as a dummy when everything happens in the XSLT
Contains one file:
error.xml
- a placeholder error message for the commercial XOPUS editor.
Contains the global modules, each in their own sub-directory:
The Bitflux editor.
_\[Why is there no Kupu modules here???\]_ |
Cocoon Forms handler.
The handler for the "homepage" resource type.
Configuration files for the jackrabbit implementation of the Java Content Repository API, and the implementation of the JackrabbitRepositoryFactory (java code).
_\[Verify!\]_ |
Generic jcr handler.
_\[Verify!\]_ |
The LenyaDoc source factory implementation (java code).
Java code, a client-side javascript helper and usecase for the link checker.
The handler for the "links" resource type.
The glue for the integration of the Lucene search engine, usecases and xslts for presentation.
The notification framework to inform users about workflow states.
The handler for the "OpenDocument" resource type.
The sitetree module. Provides the breadcrumbs, menus and tabs.
The handler for Scalable Vector Graphics. Uses the Apache Batik SVG renderer that's included in Cocoon.
Usecases for WebDAV clients (up/download of content via the WebDAV protocol in order to use external editors on the client machine).
The handler for the "xhtml" resource type.
This directory holds all publications (yours and the default ones). There is a brief description of its contents at OverviewPublicationDirectories.