Return-Path: X-Original-To: apmail-karaf-dev-archive@minotaur.apache.org Delivered-To: apmail-karaf-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 22E5C11F78 for ; Sun, 11 May 2014 16:51:18 +0000 (UTC) Received: (qmail 8015 invoked by uid 500); 11 May 2014 15:51:18 -0000 Delivered-To: apmail-karaf-dev-archive@karaf.apache.org Received: (qmail 7834 invoked by uid 500); 11 May 2014 15:51:18 -0000 Mailing-List: contact dev-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list dev@karaf.apache.org Received: (qmail 7322 invoked by uid 99); 11 May 2014 15:51:18 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 May 2014 15:51:18 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [217.70.183.195] (HELO relay3-d.mail.gandi.net) (217.70.183.195) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 May 2014 15:51:14 +0000 Received: from mfilter14-d.gandi.net (mfilter14-d.gandi.net [217.70.178.142]) by relay3-d.mail.gandi.net (Postfix) with ESMTP id 42901A80B5 for ; Sun, 11 May 2014 17:50:51 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter14-d.gandi.net Received: from relay3-d.mail.gandi.net ([217.70.183.195]) by mfilter14-d.gandi.net (mfilter14-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id nNyAHxxGk3np for ; Sun, 11 May 2014 17:50:49 +0200 (CEST) X-Originating-IP: 82.238.224.4 Received: from [192.168.134.11] (bre91-1-82-238-224-4.fbx.proxad.net [82.238.224.4]) (Authenticated sender: jb@nanthrax.net) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id EA160A8088 for ; Sun, 11 May 2014 17:50:48 +0200 (CEST) Message-ID: <536F9C53.70707@nanthrax.net> Date: Sun, 11 May 2014 17:50:43 +0200 From: =?ISO-8859-1?Q?Jean-Baptiste_Onofr=E9?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: dev@karaf.apache.org Subject: Re: Experiment to make karaf 4 smaller References: <536A3DDF.8030204@die-schneider.net> In-Reply-To: <536A3DDF.8030204@die-schneider.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi Christian, I have: - net distro very small (less than 1MB) - minimal distro I guess similar to that you have (but including equinox)= . It's something that I planned for Karaf 4.0.0. Regards JB On 05/07/2014 04:06 PM, Christian Schneider wrote: > Hi all, > > just wanted to share my experiences in trying to make karaf 4 minimal > even smaller. > > Currently karaf 4 minimal tar.gz is about 10MB. > > With some small tweaks I was able to get it down to about 6MB. > I removed equinox (1.3 MB), XercesImpl (1.3MB in lib/endorsed) and some > features like the wrapper. > > I would not really suggest to do all this for karaf minimal but perhaps > this helps some people who aim to build a really small custom distro. > What we might look into is to remove equinox and xerces from the > framework kar and add them later in the two distros. This would allow > people to build their own distros without tweaking the framework kar. > > Christian > --=20 Jean-Baptiste Onofr=E9 jbonofre@apache.org http://blog.nanthrax.net Talend - http://www.talend.com