Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 61726 invoked from network); 11 Jan 2011 16:06:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Jan 2011 16:06:35 -0000 Received: (qmail 63909 invoked by uid 500); 11 Jan 2011 16:06:35 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 63749 invoked by uid 500); 11 Jan 2011 16:06:34 -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 63741 invoked by uid 99); 11 Jan 2011 16:06:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Jan 2011 16:06:33 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of pajbam@gmail.com designates 74.125.82.178 as permitted sender) Received: from [74.125.82.178] (HELO mail-wy0-f178.google.com) (74.125.82.178) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Jan 2011 16:06:27 +0000 Received: by wyb42 with SMTP id 42so21484743wyb.37 for ; Tue, 11 Jan 2011 08:06:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:content-type :mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=sEBUPUQGDY5uAzrA39UD+1AbMoAfeQFrc3JU0rHJKik=; b=rHVaamKmAAlNa/26L3DmR61kquGD0Gt7M1Wmpy1iMYxLIsyqtcD2ffEWScRBgrIHju CxubHZDnLRQKVg0o6Yn+Fjsc18rPnYum3dg/Y/WAcjS+bCKAo9L+bc1jpNH73ZVtKv6R uC0GSAtlQbhkg24/1pKz2RCCUoaydJKDZTLH4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=hW8053wu72zufQ9kZJOS9OwtRQdqGFnFUWwFY/GG6ymEVhHxrAqyrcraZmLk13G8gK G6rbA4bQftvdXsCYZdcq6lCR8rGsCkDocH9mrn3vtiImzpgqNZHOwiioVUEknZNhmcNZ MRfU4J4tgyWA2ApqydID4v8WlOfj2s80bwnbQ= Received: by 10.216.71.16 with SMTP id q16mr2732900wed.63.1294761965949; Tue, 11 Jan 2011 08:06:05 -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 m6sm14810903wej.34.2011.01.11.08.06.03 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 11 Jan 2011 08:06:04 -0800 (PST) Sender: Pierre-Arnaud Marcelot Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1082) Subject: Re: [DISCUSS] [Release Scheme] Contract/Policy with users for releases From: Pierre-Arnaud Marcelot In-Reply-To: Date: Tue, 11 Jan 2011 17:06:02 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <49A367E6-E59B-4A2D-9DF2-DF835818BFAD@marcelot.net> References: <5B165694-5AAA-416C-98AE-75C27041B2CF@marcelot.net> To: "Apache Directory Developers List" X-Mailer: Apple Mail (2.1082) Yeah, making the original artifacts OSGI bundles would be the ideal = solution. It may also be the easiest one (moving our current build to Tycho might = not be trivial). I'll try to evaluate Tycho more in depth later this month and ask the = Tycho guys about it. Thanks, Pierre-Arnaud On 11 janv. 2011, at 16:42, Jesse McConnell wrote: > my recommendation would be to reach out to the tycho guys for a bit of > advice on this...I suspect the thing to do is to make the original > artifacts also osgi bundles, it really isn't that hard with the felix > maven bundle plugin, but there might be another way they could > recommend doing it >=20 > jesse >=20 >=20 > -- > jesse mcconnell > jesse.mcconnell@gmail.com >=20 >=20 >=20 > On Tue, Jan 11, 2011 at 09:29, Pierre-Arnaud Marcelot = wrote: >> On 5 janv. 2011, at 20:32, Alex Karasulu wrote: >>=20 >>=20 >> On Wed, Jan 5, 2011 at 9:16 PM, Jesse McConnell = >> wrote: >>>=20 >>>>> Since you have eclipse plugins you ought to >>>>> build those with maven + tycho and have a similar and sane = versioning >>>>> system. >>>>>=20 >>>>=20 >>>> 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 >>>=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