Re: Remove configuration files from content directory
Andreas Hartmann <[email protected]> Fri, 04 Apr 2003 16:05:31 +0200
| Newsgroups | gmane.comp.cms.wyona.devel |
|---|---|
| Message-ID | <[email protected]> |
Andreas Hartmann wrote:
> Hi all,
>
> I would suggest to alter the directory structure
> so that publication-specific configuration files
> are not placed in the content directory. This has
> a low priority, but if you agree, it could be
> solved quite fast using global search.
Michael suggested to introduce a WEB-INF directory
for this purpose. That could also contain log files,
libraries etc.
My objection is that the WEB-INF has another special
purpose (for web applications). If I understand the
idea correctly, all files that replace / extend default
Lenya files shall be put into the <pub-id>/lenya
directory. Is this right?
We could expand the publication directory structure to
<pub-id>/bin
/content
/java
/lenya
/config
/WEB-INF/lib
/logs
/resources
/xslt
but I would prefer the following scheme to limit
the directory depth:
<pub-id>/bin
/config (additional and overriding files)
/content
/java (only in source dir.)
/lib (only in source dir.)
/logs (only in install dir.)
/tasks (task log history)
/lenya (only override content or xslt)
/resources
/xslt
What would you suggest?
Andreas