Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 42094 invoked from network); 20 Jan 2005 23:45:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 20 Jan 2005 23:45:30 -0000 Received: (qmail 66133 invoked by uid 500); 20 Jan 2005 23:45:07 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 66036 invoked by uid 500); 20 Jan 2005 23:45:06 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 65898 invoked by uid 99); 20 Jan 2005 23:45:06 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from garuda-95.cablenet.com.ni (HELO ags01.agsoftware.dnsalias.com) (165.98.147.95) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 20 Jan 2005 15:45:04 -0800 Received: from ags01.agsoftware.dnsalias.com (localhost.localdomain [127.0.0.1]) by ags01.agsoftware.dnsalias.com (8.12.11/8.12.10) with ESMTP id j0KNixsX017253 for ; Thu, 20 Jan 2005 17:44:59 -0600 Received: (from apache@localhost) by ags01.agsoftware.dnsalias.com (8.12.11/8.12.11/Submit) id j0KNixVe017252; Thu, 20 Jan 2005 17:44:59 -0600 X-Authentication-Warning: ags01.agsoftware.dnsalias.com: apache set sender to agallardo@agssa.net using -f Received: from 10.0.0.5 (SquirrelMail authenticated user agallardo); by www.agssa.net with HTTP; Thu, 20 Jan 2005 17:44:58 -0600 (CST) Message-ID: <32781.10.0.0.5.1106264698.squirrel@www.agssa.net> In-Reply-To: <41F01D53.4080503@outerthought.org> References: <41EFFD5A.7080701@apache.org> <41EFFEA3.3080700@dslextreme.com> <41F01D53.4080503@outerthought.org> Date: Thu, 20 Jan 2005 17:44:58 -0600 (CST) Subject: Re: servlet 2.2 vs 2.3 From: "Antonio Gallardo" To: dev@cocoon.apache.org User-Agent: SquirrelMail/1.4.3a-6.FC2 X-Mailer: SquirrelMail/1.4.3a-6.FC2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Marc: Is posible to fix that? I mean by keeping compatibility in our mocks for both versions. If this is not posible then we need to states clearly wich version we will use. WDYT? Best Regards, Antonio Gallardo. On Jue, 20 de Enero de 2005, 15:06, Marc Portier dijo: > coincidence: was on the exact same path yesterday :-) > (but about the related mail.jar) > > however I also noticed something to be warned about: > I noticed the mock InternetAddress constructor forgets about declaring > to throw an AddressException (maybe others, maybe equal issues at other > locations ) > > I noticed while recompiling against the non-mock and getting some > compiler errors > > what I'm worried about though is that people developing/compiling > against the mocks will get into unpleasant deployment issues having no > catch/declare statements for those if their code only meets the real > classes in the deploy environment. > > kind regards, > -mac= > > Ralph Goers wrote: >> Gregor J. Rothfuss wrote: >> >>> we are currently getting ParanoidCocoonServlet to work with unexploded >>> WARs (in order to deploy javaflow on BEA Weblogic). this requires >>> replacing the getRealPath() calls with getResourcePaths(). >>> >>> unfortunately, that method is only available in servlet 2.3, and >>> cocoon still ships with 2.2 in lib/core (and 2.3 in lib/optional) >>> >>> is it planned to move to servlet 2.3? >>> >>> the presence of the 2.3 lib and the 2.3 doctype in web.xml seem to >>> indicate it. compiling with servlet 2.3 didn't cause problems for me, >>> and any reasonably recent servlet container already runs cocoon under >>> 2.3 anyway. >>> >> For compatibility, Cocoon 2.1.x will remain at JDK 1.3 and Servlet 2.2. >> Cocoon 2.2 will use JDK 1.4 and Servlet 2.3. >> >> HTH >> Ralph >> > > -- > Marc Portier http://outerthought.org/ > Outerthought - Open Source, Java & XML Competence Support Center > Read my weblog at http://blogs.cocoondev.org/mpo/ > mpo@outerthought.org mpo@apache.org >