Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 69487 invoked by uid 500); 17 Jun 2003 13:42:19 -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 69376 invoked from network); 17 Jun 2003 13:42:18 -0000 Received: from mail.s-und-n.de (212.8.217.2) by daedalus.apache.org with SMTP; 17 Jun 2003 13:42:18 -0000 Received: from mail.s-und-n.de (localhost [127.0.0.1]) by mail2.s-und-n.de (postfix) with ESMTP id CC9F7B1772 for ; Tue, 17 Jun 2003 15:42:18 +0200 (CEST) Received: from notes.sundn.de (ntsrv5.sundn.de [10.10.2.10]) by mail.s-und-n.de (postfix) with ESMTP id B7F5397335 for ; Tue, 17 Jun 2003 15:42:18 +0200 (CEST) Received: from hw0386 ([10.10.2.36]) by notes.sundn.de (Lotus Domino Release 5.0.8) with SMTP id 2003061715421820:24142 ; Tue, 17 Jun 2003 15:42:18 +0200 From: "Carsten Ziegeler" To: Subject: RE: Cocoon 2.1 showstopper? Date: Tue, 17 Jun 2003 15:43:56 +0200 Message-ID: MIME-Version: 1.0 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: <3EEF1328.3040706@anyware-tech.com> Importance: Normal X-MIMETrack: Itemize by SMTP Server on PBSN1/Systeme und Netzwerke(Release 5.0.8 |June 18, 2001) at 17.06.2003 15:42:18, Serialize by Router on PBSN1/Systeme und Netzwerke(Release 5.0.8 |June 18, 2001) at 17.06.2003 15:42:18, Serialize complete at 17.06.2003 15:42:18 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Thanks Sylvain and Nathaniel for the points, I added them to our updating docu. If you know some more incompatible changes, please either edit directly the updating doc or send a simple patch. Thanks Carsten > -----Original Message----- > From: Sylvain Wallez [mailto:sylvain.wallez@anyware-tech.com] > Sent: Tuesday, June 17, 2003 3:10 PM > To: cocoon-dev@xml.apache.org > Subject: Re: Cocoon 2.1 showstopper? > > > Nathaniel Alfred wrote: > > >>Yes, it's only recompiling - nothing more (well, at least in > >>theory :) ) > >> > >>Carsten > >> > >> > > > >For non-trivial Cocoon sites the 2.0.x to 2.1 migration will require > >more than just recompiling component classes. > > > >There are incompatibilities on different levels. The ones I am aware of > >are: > > > >1.) sitemap.xmap must add in components definition. > > > >2.) File upload class name changed from > >o.a.c.components.request.multipart.FilePart to > >o.a.c.servlet.multipart.Part. > > > >3.) File upload method names changed from FilePart.getFilePath() to > >Part.getUploadName(). > >(Need to confirm on this one. I don't have file upload working yet with > >M2.) > > > >4.) RequestGenerator changed namespace from > >http://xml.apache.org/cocoon/requestgenerator/2.0 to > >http://apache.org/cocoon/request/2.0. > > > > 5.) i18nTransformer changed namespace from > http://apache.org/cocoon/i18n/2.0 to http://apache.org/cocoon/i18n/2.1 > > >I don't think it is worthwhile to attempt complete backwards > >compatibilitity in 2.0 to 2.1. Instead there should be a Migration > >Guide listing the known incompatibilities in a more comprehendable form > >than the Changes file. Otherwise Cocoon users will be in for a rough > >ride in the migration, possible producing a lot of bad press at this > >crucial moment. > > > > > > I think this is the way to go, as there are a number of "small > incompatibilities" that prohibit direct porting from 2.0 to 2.1 on > non-trivial sites, and ensuring strong back-compatibility seems difficult. > > Furthermore, the mentioned byte-code incompatibility introduced by the > move to LogEnabled doesn't seem the most harmful to me, as a lot of > Cocoon apps don't define new components. Changes in built-in components > namespaces mentioned above are IMO much more confusing. > > Sylvain > > -- > Sylvain Wallez Anyware Technologies > http://www.apache.org/~sylvain http://www.anyware-tech.com > { XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects } > >