Joerg Heinicke wrote:
On 13.07.2005 00:28, Michael Wechner wrote:
It seems to me that the directory generator is not really based
on the "abstract methods" of an excalibur Source, but rather takes
the source and "maps" it onto a java.io.File.
Is that intended or just not implemented for the lack of time?
I would like to make this more generic with regard to other sources,
e.g.
JCR or whatever. If this makes sense then I would patch the
DirectoryGenerator,
but otherwise I would write a "DirectoryGenerator" from scratch, e.g
CollectionGenerator which is making use the TraversableSource interface.
You don't have to:
$COCOON_HOME/src/blocks/repository/java/org/apache/cocoon/generation/TraversableGenerator.java
thanks very much for the pointer. I think it would make sense to make a note
within the DirectoryGenerator that the TraversableGenerator exists and is
more generic.
Michi
Joerg
--
Michael Wechner
Wyona - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
[EMAIL PROTECTED] [EMAIL PROTECTED]