Carsten Ziegeler wrote:

I just started with the initial implementation for including all
files in a directory and ..ahem.. it's not that easy :(
Sure, including all files in a directory *is* easy, but we
have dependencies between blocks and therefore between
the configuration files.
This means they have to be included in the right order.
I fear the best way would be to do a lazy configuration, which
means starting with the actual configuration after all
files have been included and resolve dependencies...

Any ideas?


Yep: have each xconf include its dependencies. CocoonServiceManager.doConfigure() takes care of not including a file more than once, so this allows the order to define itself naturally.

Sylvain

--
Sylvain Wallez                                  Anyware Technologies
http://www.apache.org/~sylvain           http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }



Reply via email to