Return-Path: X-Original-To: apmail-felix-dev-archive@www.apache.org Delivered-To: apmail-felix-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 09FBC10AF0 for ; Mon, 10 Jun 2013 21:52:53 +0000 (UTC) Received: (qmail 11506 invoked by uid 500); 10 Jun 2013 21:52:52 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 11463 invoked by uid 500); 10 Jun 2013 21:52:52 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 11455 invoked by uid 99); 10 Jun 2013 21:52:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Jun 2013 21:52:52 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of justinedelson@gmail.com designates 209.85.214.175 as permitted sender) Received: from [209.85.214.175] (HELO mail-ob0-f175.google.com) (209.85.214.175) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Jun 2013 21:52:45 +0000 Received: by mail-ob0-f175.google.com with SMTP id xn12so10930131obc.34 for ; Mon, 10 Jun 2013 14:52:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=9jaAG+SdIdofYOeF2V3sNBAnNAzgZ6vX/NeoPEUMP+8=; b=JPRt4Iw1n0RlANVf0M22hCNQIWXifW/uV+S8CK0F5yUTB43XYzDaMKNCdO7AJz59oD 5+hquhRFQQMUf8lKrF/DbdNhXDr5tqBsNIuZF1POuMCZmRgRm1Bn8PCkXpKFGtQ/satQ n/Ay3wEQpzQcIi/z2XRPtJHji3Z+ALwB0qkfP5aLWkWQ5Jb+jVYtoi1Y6JJ7GX8wilDW NuNhUPROni+dImY0u5z65QuyaczfL2YWiReTOECsWfnbiN3V/Q54l1NK0GaGIcHEqcJc W+WD79nLtlkU/nNjFQEh4NV1cBIB3B1Haa5plR07NKL/UP4V+bgOUmTy74+m9C+0aAZs hxsw== MIME-Version: 1.0 X-Received: by 10.182.110.226 with SMTP id id2mr9790827obb.95.1370901144322; Mon, 10 Jun 2013 14:52:24 -0700 (PDT) Sender: justinedelson@gmail.com Received: by 10.182.140.73 with HTTP; Mon, 10 Jun 2013 14:52:24 -0700 (PDT) In-Reply-To: References: Date: Mon, 10 Jun 2013 17:52:24 -0400 X-Google-Sender-Auth: 6qHDn3S84DJqqs6jUAZTVcagjj0 Message-ID: Subject: Re: [SCR Tooling] Discontinuing support for some features From: Justin Edelson To: "dev@felix.apache.org" Content-Type: multipart/alternative; boundary=089e0112ce20bace4e04ded3cbcf X-Virus-Checked: Checked by ClamAV on apache.org --089e0112ce20bace4e04ded3cbcf Content-Type: text/plain; charset=ISO-8859-1 +1 to both changes. If it was possible to have inheritance work but ONLY within the same bundle (and fail loudly if you tried to have inheritance across bundles), I think that would be worth keeping, but not if it is too much trouble. Justin On Mon, Jun 10, 2013 at 1:21 PM, Carsten Ziegeler wrote: > Hi, > > the current version of the scr tooling (maven scr plugin, ant task) has > grown over time. We already had a major refactoring due to the drop of > support the javadoc tags. > > Now, looking at the code and the features, I would like to discuss to drop > some more and create a new 2.0 release: > > a) Current we support inheritance between components, this allows to > inherit properties, references etc. from a super class or interface. While > this sounds nice, the problem is that the base class might be different at > runtime than at build time. So the only situation where inhertiance works > reliable is by inheriting properties from an interface (due to semantic > versioning) or if the base class is in the same bundle. However the latter > can't be ensured by the SCR tooling as at the point the scr tools run, the > final artifact has not been build yet. > The DS annoations from the spec don't allow inheritance for this reason. So > I think we can think about dropping thsi. > > b) In order to support incremental builds we switched some time ago from > generating a single large descriptor to separate descriptor files. This is > now the default. I'm wondering whether we need the support for a single > large xml descriptor file at all. If we drop this feature we could clean up > a lot of code which is currently related to distinguishing between the two > modes. > > WDYT? > > Regards > Carsten > > -- > Carsten Ziegeler > cziegeler@apache.org > --089e0112ce20bace4e04ded3cbcf--