Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 37659 invoked from network); 11 Jan 2011 15:30:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Jan 2011 15:30:13 -0000 Received: (qmail 4845 invoked by uid 500); 11 Jan 2011 15:30:13 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 4648 invoked by uid 500); 11 Jan 2011 15:30:11 -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 4636 invoked by uid 99); 11 Jan 2011 15:30:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Jan 2011 15:30:10 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of pajbam@gmail.com designates 209.85.161.50 as permitted sender) Received: from [209.85.161.50] (HELO mail-fx0-f50.google.com) (209.85.161.50) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Jan 2011 15:30:00 +0000 Received: by fxm14 with SMTP id 14so20046094fxm.37 for ; Tue, 11 Jan 2011 07:29:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:mime-version :content-type:subject:date:in-reply-to:to:references:message-id :x-mailer; bh=OmABzkR4Ns0xLx8C9BCbMM4my0lwK+rf+UNPOej0IIo=; b=wRaeqIq5+u6QHRbSWFwWk7JrPwhw2lakEpPlc7ACFe/Czz5gNjQnwGK94z4bHmW+s1 k8yGQUvSe30H7Jc8xuJdzJLIg9rAbAZUYFsYH6+HgJpG6fMTJJT1H+zVK1XFoDQkJm6J 6u0dMZMowtMKQUYI6Q6f8+J16jYHEhOnXsoKI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:mime-version:content-type:subject:date:in-reply-to:to :references:message-id:x-mailer; b=VVDF38FkBEibo1mvLoq+92eB3+jXaT/4FS7mhjTw9WoTSVbB04/DCTA4GXb5PH2dr2 YYtpQ6EaAGxuj7G/0P+D9IlcnS7tWEiePOcDWmTETtvAlZmCdR7uDPQi1LMbjqBV3xVE 7svV2dNzNQxSIwkSm6wXmVUJOvd4CZSMaYYKg= Received: by 10.223.75.194 with SMTP id z2mr995226faj.38.1294759780491; Tue, 11 Jan 2011 07:29:40 -0800 (PST) Received: from [192.168.0.52] (lon92-10-78-226-4-211.fbx.proxad.net [78.226.4.211]) by mx.google.com with ESMTPS id 5sm7462611fak.23.2011.01.11.07.29.37 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 11 Jan 2011 07:29:38 -0800 (PST) Sender: Pierre-Arnaud Marcelot From: Pierre-Arnaud Marcelot Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: multipart/alternative; boundary=Apple-Mail-3-772479935 Subject: Re: [DISCUSS] [Release Scheme] Contract/Policy with users for releases Date: Tue, 11 Jan 2011 16:29:36 +0100 In-Reply-To: To: "Apache Directory Developers List" References: Message-Id: <5B165694-5AAA-416C-98AE-75C27041B2CF@marcelot.net> X-Mailer: Apple Mail (2.1082) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-3-772479935 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 5 janv. 2011, at 20:32, Alex Karasulu wrote: >=20 >=20 > On Wed, Jan 5, 2011 at 9:16 PM, Jesse McConnell = wrote: > >> Since you have eclipse plugins you ought to > >> build those with maven + tycho and have a similar and sane = versioning > >> system. > >> > > > > I talked with Pierre about it. As a side point because of the way = the build > > in Studio is setup, we're unable at this point to take advantage of = IDE > > refactoring since dependencies are on bundle jars rather than on = projects > > themselves. Do you know if using Maven + Tycho will help with this = specific > > problem? > > I'm asking this because it might spare some work for us when we = refactor > > shared which Studio depends on. > > >=20 > when I am working on the jetty wtp plugin I am able to have all 3 > plugins open and refactor between them, I just let m2eclipse import > and do the right thing >=20 > the combination of m2eclipse + maven3 + tycho is quite nice >=20 > Ahh cool. PAM, and Seelman is this something you might want to try or = leave out for later? I just cringe at the thought of your having to = manually update Studio again after we reorg shared. =20 Hi Alex, Jesse, The situation is a little more complicated actually as we have a three = level story here. Let me recap the situation... Some functionalities of Studio plugins require that we use/extend = classes of some Shared and ApacheDS project modules. Unfortunately, those Shared and ApacheDS project modules are not OSGI = (or Eclipse) bundles (yet?). In order to solve that problem and to be able to use them in our = plugins, we created a specific Eclipse plugin for each required Shared = and ApacheDS dependency. I named such a plugin as a "Library Plugin", opposed to our "Studio Code = Plugins". A "Library Plugin" simply embeds the jar file of the corresponding = Shared or ApacheDS project module and sets a proper MANIFEST.MF file = with the correct OSGI and Eclipse instructions (Bundle-SymbolicName, = Export-Package, Require-Bundle, etc.). In the end, in your Eclipse workspace, you find yourself having two = projects for a single original module: - that original module with the source code ('shared-ldap' for example) - the associated library plugin, based on a constructed (snapshot) jar = file of that original module ('org.apache.directory.shared.ldap' for = example) Now, when you refactor the source code of the original module, = unfortunately, the link between that module and the final "Studio Code = Plugin" is lost for Eclipse, because of the use of the jar file in the = associated "Library Plugin" between the two. Then the modifications applied on the original module are not applied to = the "Studio Code Plugin". I'm not sure Tycho can help us solve this issue, but it does, I'd be = happy to update our Studio build to use it... Thoughts? Regards, Pierre-Arnaud= --Apple-Mail-3-772479935 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii


On Wed, Jan 5, 2011 at = 9:16 PM, Jesse McConnell <jesse.mcconnell@gmail.com>= ; wrote:
>> Since you have eclipse plugins you ought = to
>> build those with maven + tycho and have a similar and sane = versioning
>> system.
>>
>
> I talked with Pierre about it. As a side point because of the way = the build
> in Studio is setup, we're unable at this point to take advantage of = IDE
> refactoring since dependencies are on bundle jars rather than on = projects
> themselves. Do you know if using Maven + Tycho will help with this = specific
> problem?
> I'm asking this because it might spare some work for us when we = refactor
> shared which Studio depends on.
>

when I am working on the jetty wtp plugin I am able to have all = 3
plugins open and refactor between them, I just let m2eclipse import
and do the right thing

the combination of m2eclipse + maven3 + tycho is quite = nice

Ahh cool. PAM, and Seelman is = this something you might want to try or leave out for later? I just = cringe at the thought of your having to manually update Studio again = after we reorg shared.  

Hi Alex, = Jesse,

The situation is a little more = complicated actually as we have a three level story = here.

Let me recap the = situation...

Some functionalities of Studio = plugins require that we use/extend classes of some Shared and ApacheDS = project modules.

Unfortunately, those Shared = and ApacheDS project modules are not OSGI (or Eclipse) bundles = (yet?).
In order to solve that problem and to be able to use = them in our plugins, we created a specific Eclipse plugin for each = required Shared and ApacheDS dependency.
I named such a plugin = as a "Library Plugin", opposed to our "Studio Code = Plugins".

A "Library Plugin" simply embeds the = jar file of the corresponding Shared or ApacheDS project module and sets = a proper MANIFEST.MF file with the correct OSGI and Eclipse instructions = (Bundle-SymbolicName, Export-Package, Require-Bundle, = etc.).

In the end, in your Eclipse workspace, = you find yourself having two projects for a single original = module:
- that original module with the source code = ('shared-ldap' for example)
- the associated library plugin, = based on a constructed (snapshot) jar file of that original module = ('org.apache.directory.shared.ldap' for = example)

Now, when you refactor the source code = of the original module, unfortunately, the link between that module and = the final "Studio Code Plugin" is lost for Eclipse, because of the use = of the jar file in the associated "Library Plugin" between the = two.
Then the modifications applied on the original module are = not applied to the "Studio Code Plugin".

I'm = not sure Tycho can help us solve this issue, but it does, I'd be happy = to update our Studio build to use = it...

Thoughts?

Regards,=
Pierre-Arnaud
= --Apple-Mail-3-772479935--