Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 32348 invoked by uid 500); 17 Jun 2003 22:02:00 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 32328 invoked from network); 17 Jun 2003 22:01:59 -0000 Received: from mail.feedroom.com (63.122.180.15) by daedalus.apache.org with SMTP; 17 Jun 2003 22:01:59 -0000 content-class: urn:content-classes:message Subject: cached cinclude doesn't work on 2.0? MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Tue, 17 Jun 2003 18:02:06 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: cached cinclude doesn't work on 2.0? Thread-Index: AcM1HBcrZ1Y+wfcFT8OdaZm9xRv14g== From: "Ed Yavno" To: X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi all, I'm trying to use the cinclude transformer on a document that has = cinclude references to quite a few large files.=20 The result of this transformation doesn't need to be the most = up-to-date, so I'd like to use cached cinclude (cinclude:cached-include) = which would expire once a hour. I'm following documentation for cinclude here: = http://cocoon.apache.org/2.0/userdocs/transformers/cinclude-transformer.h= tml Here are my relevant configs. sitemap.xmap: cinclude_test_src.xml: =09 According to the cinclude documentation, I also need to add the = following component to cocoon.xconf, which I've done: Having done that, cocoon started generating internal errors, and this = what I've found in the core.log: java.lang.ClassNotFoundException: = org.apache.cocoon.transformation.helpers.DefaultIncludeCacheManager ... ... I didn't find = org.apache.cocoon.transformation.helpers.DefaultIncludeCacheManager nor = org.apache.cocoon.transformation.helpers.IncludeCacheManager in cocoon = 2.03, and that's the version we're using. However, they are present in = the last milestone of 2.1. Does it mean that the documentation is 2.1 specific? Is there a way to use cached cincludes in 2.0.3? I built the last 2.1 milestone and tried to use = DefaultIncludeCacheManager, IncludeCacheManager and other related = classes in 2.0.3 (by dropping them in WEB-INF/classes/...), but there = appears to be a lot of other dependencies. Upgrading to 2.1.0 is not an option at the moment, so I would appreciate = any suggestions on getting cached cincludes to work with 2.0.3. Thanks, - Ed Y. --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org For additional commands, e-mail: cocoon-users-help@xml.apache.org