You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by "Gregor J. Rothfuss" <gr...@wyona.com> on 2003/04/23 11:17:05 UTC

the lenya directory structure

here is the updated proposal for the lenya directory structure.
it merges ideas from several mail exchanges in the last couple
weeks.

the plan is to implement this proposal on thursday and friday.

note that some of these directory may only be present at runtime.

Specification
=============

<pub-id>
     /bin
     /config
         /ac/policies/*.acml
         /ac/passwd/*.iml
         /authoring
         /doctypes/doctypes.xconf
         /doctypes/samples/*.xml
         /doctypes/schemas/*.xsd
         /publishing/publisher.xconf
         /menus/*.xsp
         /search/crawler.xconf
         /search/lucene.xconf
         /tasks/tasks.xconf
     /content
          /authoring
          /live
          /rcml
          /rcbak
          /staging
     /java
         /src
	   /test
     /logs
         /tasks
     /lenya [1]
          /content 
          /resources
          /xslt
     /resources [2]
         /css
         /images
         /javascript
     /WEB-INF/lib [5]
     /work/export [3]
     /work/replication [4]
     /work/scheduler/scheduler.xml
     /xslt
          /authoring
          /live
          /staging

notes
=====

[1] these directories should mirror the top level directories
[2] additional static media types, such as pdf will be added over time
[3] location for temporary storage of published files (static)
[4] location for temporary storage of published files (xml source)
[5] precompiled java libraries

explanations
============

  Current location                      Proposed location

* policies
  Which URIs can be accessed by whom

  content/ac/policies/*.acml            config/ac/policies/*.acml

* user/group data
  Data for authentication.

  content/ac/passwd/*.iml               config/ac/passwd/*.iml

* doctypes
  Definitions for allowed doctypes (i.e. schemas, sample files, creators)

  content/doctypes/doctypes.xconf       config/doctypes/doctypes.xconf
  content/doctypes/samples/*.xml        config/doctypes/samples/*.xml
  content/doctypes/schemas/*.xsd        config/doctypes/schemas/*.xsd

* menus
  Menu defintions for doctypes

  content/menus/*.xsp                   config/menus/*.xsp

* search
  Config files for search.

  content/crawler.xconf                 config/search/crawler.xconf
  content/lucene.xconf                  config/search/lucene.xconf

* publisher
  Configuration for the publisher (e.g. authoring/live/export path).

  content/publication.xconf             config/publishing/publisher.xconf

* tasks
  Configuration for tasks (e.g. names and classes of tasks)

  content/tasks.xconf                   config/tasks/tasks.xconf

* revision control
  Configuration for revision control (e.g. backup/rcml dirs). The
  revision control produces more files which are also stored in
  content (such as backup files and "diffs")

  <configured in sitemap>               config/rc/revision-controller.xconf


* scheduler
  This is basically a dump of the task list that needs to be
  serialized when the server goes down. 

  content/scheduler/scheduler.xml       work/scheduler/scheduler.xml

-- 
Gregor J. Rothfuss   gregor.rothfuss@wyona.com  +41 1 272 9161
                     Wyona AG, Hardstrasse 219, CH-8005 Zurich
Open Source CMS      http://www.wyona.org http://www.wyona.com 

OSCOM 3 - Third Open Source Content Management Conference
May 28th - 30th 2003, Harvard University, Cambridge, MA, USA
http://www.oscom.org/Conferences/Cambridge/


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org