Return-Path: Delivered-To: apmail-pivot-user-archive@www.apache.org Received: (qmail 40371 invoked from network); 30 Jan 2010 00:38:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 30 Jan 2010 00:38:11 -0000 Received: (qmail 99152 invoked by uid 500); 30 Jan 2010 00:38:11 -0000 Delivered-To: apmail-pivot-user-archive@pivot.apache.org Received: (qmail 99127 invoked by uid 500); 30 Jan 2010 00:38:11 -0000 Mailing-List: contact user-help@pivot.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@pivot.apache.org Delivered-To: mailing list user@pivot.apache.org Received: (qmail 99118 invoked by uid 99); 30 Jan 2010 00:38:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Jan 2010 00:38:11 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [131.203.76.87] (HELO mail.magicmemories.co.nz) (131.203.76.87) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Jan 2010 00:38:02 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.magicmemories.co.nz (Postfix) with ESMTP id 381BA1C248 for ; Sat, 30 Jan 2010 13:37:36 +1300 (NZDT) X-Virus-Scanned: amavisd-new at magicmemories.co.nz Received: from mail.magicmemories.co.nz ([127.0.0.1]) by localhost (mail.magicmemories.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7ts1Xf+F-7BC for ; Sat, 30 Jan 2010 13:37:30 +1300 (NZDT) Received: from slb (60-234-129-62.bitstream.orcon.net.nz [60.234.129.62]) by mail.magicmemories.co.nz (Postfix) with ESMTPSA id 28D841C241 for ; Sat, 30 Jan 2010 13:37:28 +1300 (NZDT) Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: user@pivot.apache.org Subject: Re: Compatibility breaks between pivot versions. Reply-To: slb@sergelebreton.com References: Date: Sat, 30 Jan 2010 13:37:18 +1300 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Serge Le Breton" Message-ID: In-Reply-To: User-Agent: Opera Mail/10.10 (Win32) Greg, Thank you for the answer. I've followed the user@pivot.apache.org for a while and I like your responsiveness. It makes me feel confident as a new user of pivot. I completely agree with the "getting the API right" philosophy. The project is young and full of potential and no genius on earth can make it right the first time. .Net doesn't. It pretty much breaks compatibility every major X release. Scala doesn't either. Java didn't, but ends up with a cluttered API and a soooooo long javadoc full of deprecated annotations. A DTD will definitively help. Especially for an IDE (auto-completion, typing validation etc..) Anyway, I'm going to write my own Ant task and add it in my compile target. I think it's a good idea. Just to be sure. Cheers, and keep up the good work. BTW: anyone on your team working on a GUI/WTKX designer tool? /Serge On Sat, 30 Jan 2010 11:44:31 +1300, Greg Brown wrote: > Hi Serge, > > We have historically made API changes across releases that have broken backwards compatibility, particularly during our incubation as the platform evolved. We believe that "getting the API right" is very important and can sometimes outweigh the benefits of maintaining backward compatibility. However, as our user base grows, we will be more conscious of the impact such changes will have and will ensure that breaking API changes are adequately documented in our release notes. > > An Ant task that verifies WTKX validity is an interesting idea - another option we have discussed is providing a DTD to validate the XML structure. This is currently on the table for Pivot 1.4.2. > > Hope this helps, > Greg > > > On Jan 29, 2010, at 4:59 PM, Serge Le Breton wrote: > >> Hi to the team of pivot, >> >> First of all, congratulations for this nice piece of software. >> I like the Terra Look&Feel and the API design (static inner classes) >> I'm coming from Swing and my notepad is full of questions I'd like to ask >> but I start with a nontechnical one. >> >> I've started a project with pivot 1.3. A few weeks later 1.4 was released. >> 1.4 broke my compilation and my runtime because of missing classes, >> properties and styles keys etc... >> Well, I don't mind -too much- compilation errors but the problem is runtime >> errors with the WTKX serializer. >> So before I start making an Ant task that grabs all my wtkx files and run >> the serializer on them to look for errors -which I might do anyway- I'd >> like to know: >> >> Do you plan to continue breaking backward compatibility in future >> releases? If so, anyway to have a 'breaking log' of some sort with a new release? >> >> >> >> Cheers >> >> >> /Serge. > >