Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 69870 invoked by uid 500); 15 Jan 2002 19:13:35 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 69847 invoked from network); 15 Jan 2002 19:13:35 -0000 Message-ID: <3C43FB38.46C864F@apache.org> Date: Tue, 15 Jan 2002 10:49:44 +0100 From: Stefano Mazzocchi X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: cocoon-dev@xml.apache.org Subject: Re: Problems with optional components (servlet, deli) References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Carsten Ziegeler wrote: > > Hi, > > I'm just in the process of making as much as possible of the compilation > optional in Cocoon. > > There are some problems, here are two of them: > > The deli package can not be left out as the components.deli.Deli interface > directly imports hp classes. As this interface is required by the > traxtransformer, > the hp classes are required even if the DeliImpl is left out. > > The second problem is the independence of the servlet api. We pray that > cocoon is independent but for compiling (and running) cocoon the servlet > classes are required even for cli. After patching some parts, there is > only one place left: the abstract sitemap class. It contains the > tryToResetResponse > method which explicitly tests against an HttpResponse class, which is > very bad! For separation concerns I would like to add a tryToResetResponse > on the environment interface. Anything against this? if this makes it abstract from the servlet API, go for it. +1 -- Stefano Mazzocchi One must still have chaos in oneself to be able to give birth to a dancing star. Friedrich Nietzsche -------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org