All files that belong to a specific publication are organized under one directory tree inside the pubs
directory. Sometimes it will be helpful to understand what directories and files should be there; especially as long as it will be necessary to dome some tweaks manually on the file because there are no CMS screens yet.
Typically, there will be the following subdirectories:
config |
optional |
Configuration files |
config/*.xconf |
optional |
XPatch files for cocoon.xconf (to declare input modules etc.) |
content |
required |
Content for your publication |
content/rcml |
required |
Revision Control Information (RCML = Revision Control Markup Language) |
content/workflow/history |
optional |
workflow history files |
lenya |
required |
Override core files (e.g., for use with the fallback module) |
xslt |
required |
Stylesheets |
resources/shared/css |
required |
CSS (Cascading Style Sheet) for your publication |
resources/shared/images |
required |
Put image files and the like here |
java/src |
optional |
Java source files to be compiled as part of the publication |
java/lib |
optional |
Java libs specific to the publication |
Note: If you use custom code and libraries in java/lib and java/src, you cannot just copy your publication into the lenya/pubs directory anymore. You need to recompile Lenya together with the publication in that case. Please refer to DeployPublicationHowTo.
Note: For all folders that are not mentioned here it yet has to be discovered what they might be good for. Feel free to add whatever you find out.