Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 28610 invoked from network); 29 Aug 2008 08:06:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Aug 2008 08:06:15 -0000 Received: (qmail 32682 invoked by uid 500); 29 Aug 2008 08:06:13 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 32649 invoked by uid 500); 29 Aug 2008 08:06:13 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 32638 invoked by uid 99); 29 Aug 2008 08:06:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Aug 2008 01:06:13 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of pajbam@gmail.com designates 64.233.166.182 as permitted sender) Received: from [64.233.166.182] (HELO py-out-1112.google.com) (64.233.166.182) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Aug 2008 08:05:15 +0000 Received: by py-out-1112.google.com with SMTP id d32so549040pye.19 for ; Fri, 29 Aug 2008 01:05:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:in-reply-to:mime-version:content-type:references :x-google-sender-auth; bh=cEDKWJT/FK6TmJWbaY6msOGFSmpxedAXPigoNbl5U3g=; b=V7IWOx8DSgRlcffbswTiRyHJtjjw4IbHZbKt/RHDssOVUZMOMUoimaSWO3BVwNPvzr SZZd5GQU9s4YhA1FrUcHnSRbpbI1da5JtePLClpMgOCnYeItypf3oE5PswLDle6NGz/t Ugp8YuXTXtNHZSMiDO+2Yu8c1FDBOg+Z7//Ms= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version :content-type:references:x-google-sender-auth; b=ouflPRQZfUNo2cyhlz9lM2KBgpvaQL7wXqMw7E5TzHALHWGw7WB0tySVn+8NrN9vhD bZg1ckQxT+0wj/HY6fjmJMVrZQuWabIGAiE9lHEpj+a4NkkJugaA7ty0oPNQEMJXx2qP Q1KiyTScj+OrSPvTiyd6l/yUO5L3PMugIwRIQ= Received: by 10.65.240.13 with SMTP id s13mr4567092qbr.91.1219997145744; Fri, 29 Aug 2008 01:05:45 -0700 (PDT) Received: by 10.65.126.18 with HTTP; Fri, 29 Aug 2008 01:05:45 -0700 (PDT) Message-ID: <98d8c0860808290105w38fd1864te82a8a04f7b6a050@mail.gmail.com> Date: Fri, 29 Aug 2008 10:05:45 +0200 From: "Pierre-Arnaud Marcelot" Sender: pajbam@gmail.com To: "Apache Directory Developers List" , elecharny@nextury.com Subject: Re: [Shared] How to avoid some breakage in Studio when modifying shared In-Reply-To: <48B7AAB8.6020302@gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_16205_1749745.1219997145724" References: <48B7AAB8.6020302@gmail.com> X-Google-Sender-Auth: 7409378772a59fec X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_16205_1749745.1219997145724 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Emmanuel, On Fri, Aug 29, 2008 at 9:52 AM, Emmanuel Lecharny wrote: > I guys, > > yesturday, as I modified shared, I broke Studio. The reason is that we have > a DSML sub-project in Studio which depends on the Message API in shared. > > Here are some ideas to avoid such breakage in the near future : > - the DSML subproject should become a shared-dsml sub-project I completely agree with that. And I think, the project needs to be reworked to avoid using the Message API from shared. In my opinion, the use of this API makes it harder for the developer to use the shared-dsml library. Writing DSML Requests/Responses is not very intuitive. The Message API is perfect for internal server use but not really for end-users I think. Even more now, since it's using the Entry class. > - we should depend on tagged versions of shared in studio, as we are > modifying shared pretty enough Well, as we need to fix some bugs in Shared from time to time, we need to use the snapshot version. However when we would release a new version of Studio, a release of Shared would be a prerequisite before releasing Studio itself. - if we do that, it means we have to release shared more often When the server and/or the studio need it. > - otherwise, we have to build studio each time we do a modification in > shared, which will be overkilling, IMHO Yes, it would be very overkilling... Since we have this nightly builds server, I think we can use it as a way to alert us if something goes wrong with a commit in Shared that affects Studio. Just like it did today. Regards, Pierre-Arnaud ------=_Part_16205_1749745.1219997145724 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Hi Emmanuel,

On Fri, Aug 29, 2008 at 9:52 AM, Emmanuel Lecharny <elecharny@gmail.com> wrote:
I guys,

yesturday, as I modified shared, I broke Studio. The reason is that we have a DSML sub-project in Studio which depends on the Message API in shared.

Here are some ideas to avoid such breakage in the near future :
- the DSML subproject should become a shared-dsml sub-project

I completely agree with that. And I think, the project needs to be reworked to avoid using the Message API from shared.
In my opinion, the use of this API makes it harder for the developer to use the shared-dsml library. Writing DSML Requests/Responses is not very intuitive.
The Message API is perfect for internal server use but not really for end-users I think. Even more now, since it's using the Entry class.
 
- we should depend on tagged versions of shared in studio, as we are modifying shared pretty enough

Well, as we need to fix some bugs in Shared from time to time, we need to use the snapshot version. However when we would release a new version of Studio, a release of Shared would be a prerequisite before releasing Studio itself.

- if we do that, it means we have to release shared more often

When the server and/or the studio need it.
 
- otherwise, we have to build studio each time we do a modification in shared, which will be overkilling, IMHO

Yes, it would be very overkilling... Since we have this nightly builds server, I think we can use it as a way to alert us if something goes wrong with a commit in Shared that affects Studio. Just like it did today.

Regards,
Pierre-Arnaud

------=_Part_16205_1749745.1219997145724--