Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 20828 invoked from network); 11 Mar 2006 11:43:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 Mar 2006 11:43:19 -0000 Received: (qmail 60448 invoked by uid 500); 11 Mar 2006 11:43:17 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 60233 invoked by uid 500); 11 Mar 2006 11:43:16 -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 List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 60222 invoked by uid 99); 11 Mar 2006 11:43:16 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Mar 2006 03:43:16 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [195.130.137.74] (HELO asia.telenet-ops.be) (195.130.137.74) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Mar 2006 03:43:14 -0800 Received: from localhost (localhost.localdomain [127.0.0.1]) by asia.telenet-ops.be (Postfix) with SMTP id E365E16838C for ; Sat, 11 Mar 2006 12:42:52 +0100 (CET) Received: from [192.168.2.2] (d54C1AE48.access.telenet.be [84.193.174.72]) by asia.telenet-ops.be (Postfix) with ESMTP id C103116838A for ; Sat, 11 Mar 2006 12:42:52 +0100 (CET) Subject: Re: Sharing the template block between 2.1 and 2.2 DONE! From: Bruno Dumon To: dev@cocoon.apache.org In-Reply-To: <4411A0FD.1050801@apache.org> References: <44103D4F.4050001@dslextreme.com> <1141921591.6384.40.camel@localhost.localdomain> <44105BFD.3060401@dslextreme.com> <1141923343.28845.132.camel@jjohnston> <441099C5.5060502@odoko.co.uk> <1141940953.28845.182.camel@jjohnston> <1141999030.6322.80.camel@localhost.localdomain> <4411952A.5050205@lojjic.net> <4411A0FD.1050801@apache.org> Content-Type: text/plain Date: Sat, 11 Mar 2006 12:41:37 +0100 Message-Id: <1142077297.6336.7.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.4.1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Fri, 2006-03-10 at 16:53 +0100, Reinhard Poetz wrote: > Jason Johnston wrote: > > > A question: it appears that both the 2.1.x core and the template block > > contain the classes o.a.c.generation.JXTemplateGenerator and > > o.a.c.transformation.JXTemplateTransformer. In 2.1.x they're the old JX > > we know and love, and in the template block they point to the new JX. > > > > So when using those old classes in 2.1.x with the template block > > included, which version of JX gets used? > > In 2.1.x the old generator should *not* extend the new generator and in the > template block we should simply remove the class. In order to do this and follow > our versioning policy, we have to deprecate the old implementations. > I followed this suggestion, as this is also what has been voted on [1]. The "move" is done now. The java sources of the template block are shared via svn:externals. In 2.1, the new jx template generator is by default declared in the sitemap with the name "newjx". [1] http://marc.theaimsgroup.com/?t=113714752400001&r=1&w=2 -- Bruno Dumon http://outerthought.org/ Outerthought - Open Source, Java & XML Competence Support Center bruno@outerthought.org bruno@apache.org