Joern Nettingsmeier wrote:
Andrew Golightly wrote:
Hi guys,

Michael suggested I email you about this. Lenya builds fine. Great! But
when pointing to the lenya public modules
(http://svn.wyona.com/repos/public/lenya/modules) I get the following
error when building:

compile-module-org.apache.lenya.modules.sitetreeextended:
Created dir:
/home/andrew/gate/lenya/lenya-1.4.x/build/lenya/modules/org.apache.lenya.modules.sitetreeextended/java/classes

Compiling 1 source file to
/home/andrew/gate/lenya/lenya-1.4.x/build/lenya/modules/org.apache.lenya.modules.sitetreeextended/java/classes

/home/andrew/gate/lenya/modules/sitetreeextended/java/src/org/apache/lenya/cms/cocoon/generation/SitetreeFragmentGeneratorResourcetype.java:50:
cannot find symbol
symbol  : variable identityMap
location: class
org.apache.lenya.cms.cocoon.generation.SitetreeFragmentGeneratorResourcetype

         Document document = this.identityMap.get(this.publication,
this.area, node.getPath(), lang);
                             ^

IdentityMap has recently been refactored to DocumentFactory iirc,

Just a minor correction: IdentityMap still exists, but DocumentIdentityMap
has been renamed to DocumentFactory. It was once a specific identity map,
but this inheritance has been replaced by delegation.

Now an identity map and a factory are a team - the identity map takes care
that no duplicate objects are built, and the factory creates the objects.

-- 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