Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 98347 invoked by uid 500); 15 Jan 2002 14:05:13 -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 98335 invoked from network); 15 Jan 2002 14:05:13 -0000 Message-ID: <3C4437AD.7040701@apache.org> Date: Tue, 15 Jan 2002 09:07:41 -0500 From: Berin Loritsch User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.7) Gecko/20011221 X-Accept-Language: en-us 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; format=flowed 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. Try running Cocoon without Deli (be sure to remove the definition from the Cocoon.roles file). It should work (I tested it before I committed my patch). > 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? +1. Nothing outside of the CocoonServlet API should directly use the Servlet API. -- "They that give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." - Benjamin Franklin --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org