You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Apache Wiki <wi...@apache.org> on 2006/02/04 20:48:21 UTC
[Lenya Wiki] Update of "DirectoryStructureLenya1.4-HEAD-build" by JörnNettingsmeier
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Lenya Wiki" for change notification.
The following page has been changed by JörnNettingsmeier:
http://wiki.apache.org/lenya/DirectoryStructureLenya1%2e4-HEAD-build
------------------------------------------------------------------------------
This page describes the directory structure of Lenya under the build/ directory.
- == lenya/ ==
+ == ./build/lenya/ ==
- === src/ ===
+ === ./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?''
- === webapp/ ===
+ ''[Why is this needed in the build tree? Can someone explain?]''
+
+ === ./build/lenya/webapp/ ===
This subdirectory contains two files
* global-sitemap.xmap
* sitemap.xmap
- ''What is the difference between these two? What are they used for?''
+ They are the "root" sitemaps that are used if no local ones are found in the publication or its templates.
- and the following sub-directories:
+ ''[What is the difference between these two?]''
+ It also contains the following sub-directories:
- ==== jcr-repository ====
- ==== lenya ====
- ==== WEB-INF ====
+ ==== ./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: ["DirectoryStructureLenya1.4-HEAD-build-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.]
+
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org