Return-Path: X-Original-To: apmail-incubator-ace-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ace-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DC98B95F5 for ; Thu, 24 Nov 2011 09:05:57 +0000 (UTC) Received: (qmail 84850 invoked by uid 500); 24 Nov 2011 09:05:57 -0000 Delivered-To: apmail-incubator-ace-dev-archive@incubator.apache.org Received: (qmail 84745 invoked by uid 500); 24 Nov 2011 09:05:50 -0000 Mailing-List: contact ace-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ace-dev@incubator.apache.org Delivered-To: mailing list ace-dev@incubator.apache.org Received: (qmail 84732 invoked by uid 99); 24 Nov 2011 09:05:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Nov 2011 09:05:49 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of karlpauls@gmail.com designates 209.85.220.175 as permitted sender) Received: from [209.85.220.175] (HELO mail-vx0-f175.google.com) (209.85.220.175) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Nov 2011 09:05:43 +0000 Received: by vcbfo11 with SMTP id fo11so2215450vcb.6 for ; Thu, 24 Nov 2011 01:05:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=UPbxCGNj7KzwrdcnMdVbSxpKLiHfPfQyoaPas3Twkqc=; b=JUsqjPk8QURaRaE+ZeR6MPMwQv5++ymiYDbB0tIuNamCFzzsCA94OPLydVyzeHKHV+ JNeesc0wjruOH4iMmS9kbGFfplKcjHOLkwpKzxeglc6qCVEwNNLN4zY7W9508m6Vu2ZF MDKzSOkKDDTysDW+ni2JrsavorBoiWegkeUD8= Received: by 10.182.124.33 with SMTP id mf1mr9303479obb.24.1322125522099; Thu, 24 Nov 2011 01:05:22 -0800 (PST) MIME-Version: 1.0 Received: by 10.182.37.231 with HTTP; Thu, 24 Nov 2011 01:05:01 -0800 (PST) In-Reply-To: References: From: Karl Pauls Date: Thu, 24 Nov 2011 10:05:01 +0100 Message-ID: Subject: Re: Using the Sling OSGi Installer? To: ace-dev@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org I like the idea. I think Marcel added a new endpoint anyways which allows to hook other kind of provisioning mechanisms (we use it to create pojosr jars - a single jar that runs a bunch of bundles and configurations without the need to create any files on disc and skipping classloader magic). That might be already what is needed to use the sling osgi installer .... Marrs? regards, Karl On Thu, Nov 24, 2011 at 8:54 AM, Carsten Ziegeler wrote: > Hi, > > I'm wondering what the general opinion about using the Sling OSGi > installer in ACE is? > > The installer is not tied to Sling it just happens that we have > developed it as part of the project. It's a general purpose installer > which ootb is able to handle bundles and configurations like > FileInstall. The main difference is that we separated the actual > handling of the artifacts from the providers. So the installer itself > is handling installation, update, and removal of artifacts and there > are different plugins providing those artifacts. > One of these plugins is a file provider (which basically works like > FileInstall), another one (different bundle) reads artifacts from a > JCR repository and so on. > > In addition, the installer handles retries, keeps state of what it did > install and detects if a user did some manual changes. For example, > you install bundle A in version 1.0 through the installer, the user > updates this bundle to version 1.1 through the web console. Now you > remove the 1.0 artifact from the directory. In this case, the 1.1 > version should still be active and not be uninstalled. And so on. > > Oh, and like with FileInstall it's possible to add support for other > artifact types. For example we have support for deployment packages > etc. > > Just a rough description :) > > So, in general, WDYT? > > Regards > Carsten > -- > Carsten Ziegeler > cziegeler@apache.org > -- Karl Pauls karlpauls@gmail.com http://twitter.com/karlpauls http://www.linkedin.com/in/karlpauls https://profiles.google.com/karlpauls