[EMAIL PROTECTED] wrote:

[...]

I am a little confused about how this would work, and doubt any
existing code would handle it properly.  The code must check inherited
Templates, and that is a Lenya-specific feature.  Three Templates
could have identically named Modules; this Publication only cares
about the Module it inherits.

IMO we shouldn't support this, at least not at the moment. I think
module dependencies should be resolved during compile time. Publication
templating is IMO a runtime concept, at least this is what I had in
mind when I implemented the first steps (creating several versions of
the same publication, maybe overriding some XSLTs / pipelines)
A publication instance shouldn't be allowed to declare additional
modules.

If we clearly separate compile time dependencies (which could be
resolved using Gump) and runtime dependencies (instance -> template)
there shouldn't be a problem.

As soon as we've got this working properly we can think of adding
runtime dependencies (hot-deploying modules, OSGi, ...), but IMO
it's too early for that.

[...]

Missing modules is a completely different issue.  Lenya will run
without a Module.

IMO the build should fail if a required module is missing.

-- Andreas


--
Andreas Hartmann
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
[EMAIL PROTECTED]                     [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to