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 BB9FBBA6A for ; Mon, 2 Jan 2012 19:37:19 +0000 (UTC) Received: (qmail 86592 invoked by uid 500); 2 Jan 2012 19:37:19 -0000 Delivered-To: apmail-karaf-dev-archive@karaf.apache.org Received: (qmail 86568 invoked by uid 500); 2 Jan 2012 19:37:19 -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 86560 invoked by uid 99); 2 Jan 2012 19:37:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jan 2012 19:37:19 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.210.176] (HELO mail-iy0-f176.google.com) (209.85.210.176) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jan 2012 19:37:15 +0000 Received: by iapp10 with SMTP id p10so39711284iap.21 for ; Mon, 02 Jan 2012 11:36:54 -0800 (PST) MIME-Version: 1.0 Received: by 10.42.243.2 with SMTP id lk2mr47632127icb.8.1325533012904; Mon, 02 Jan 2012 11:36:52 -0800 (PST) Received: by 10.50.75.35 with HTTP; Mon, 2 Jan 2012 11:36:52 -0800 (PST) In-Reply-To: <4F0204A1.6000400@die-schneider.net> References: <4F01EDCF.5000802@nanthrax.net> <4F0204A1.6000400@die-schneider.net> Date: Mon, 2 Jan 2012 20:36:52 +0100 Message-ID: Subject: Re: Size of karaf distributions From: Toni Menzel To: dev@karaf.apache.org Content-Type: multipart/alternative; boundary=90e6ba3fd26f5f4cb304b590b45e --90e6ba3fd26f5f4cb304b590b45e Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable hmmm.. i was under the impression Karaf was using pax url for resolving runtime dependencies in maven repositories for a long time already ? Its just since 3.x that it uses pax-url-aether instead of pax-url-mvn. As a Pax URL maintainer i can say: pax-url-mvn is deprecated. - there are chances (still to be discussed) that pax-url-aether will become pax-url-mvn . The only real drawback i see is: size. However, i haven't looked at Aether in recent month(s), so it may be smaller already (mostly due to its extra microkernel plexus). Toni On Mon, Jan 2, 2012 at 8:25 PM, Christian Schneider wrote: > The pax url dep came from me. I wanted to discuss this anyway. For what = I > do right now pax url aether is not absolutely necessary. So I could repla= ce > that with some own code. On the other hand it may be interesting to provi= de > services in pax based on the aether api like get available versions of > artifact. Perhaps even browse maven repos with some extensions. This woul= d > allow content assist for mvn urls. > > So what do you guys think. Do we plan to use aether more or should we get > rid of it again? > > Christian > > > Am 02.01.2012 19:16, schrieb Jamie G.: > > Running a quick diff on minimal and standard kits the largest >> difference appears to be that the standard distribution includes demos >> and a few extra jars in the system folder. >> >> org.apache.karaf.region.**commands-3.0.0-SNAPSHOT.jar -> 23K >> org.apache.karaf.shell.config-**3.0.0-SNAPSHOT.jar -> 43K >> org.apache.karaf.shell.**services-3.0.0-SNAPSHOT.jar -> 25K >> org.apache.karaf.shell.ssh-3.**0.0-SNAPSHOT.jar -> 38K >> mina-core-2.0.3.jar -> 630K >> sshd-core-0.6.0.jar -> 320K >> >> When the above is removed then this accounts for the 1Mb reduction in >> size to become 'minimal'. >> >> Looking at the largest jars in the system folder we have: >> >> 2.3M org.apache.karaf.shell.dev-3.**0.0-SNAPSHOT.jar >> 1.3M osgi-3.7.1.R37x_v20110808-**1106.jar >> 2.5M pax-url-aether-1.3.5.jar >> >> All other jars are under a Mb, the largest of which are: >> >> 367K org.apache.aries.blueprint.**core-0.4.1-SNAPSHOT.jar >> 120K org.apache.aries.jmx-0.3.jar >> 104K org.apache.aries.util-0.5-**SNAPSHOT.jar >> 206K commons-jexl-2.0.jar >> 470K org.apache.felix.framework-4.**0.2.jar >> 379K org.apache.karaf.shell.**console-3.0.0-SNAPSHOT.jar >> 630K mina-core-2.0.3.jar (Already cut from minimal) >> 213K org.apache.servicemix.bundles.**asm-3.3_2.jar >> 320K sshd-core-0.6.0.jar (Already cut from minimal) >> 529K pax-logging-service-1.6.3.jar >> 332K pax-url-wrap-1.3.5.jar >> >> Out of all the above jars I have to wonder why o.a.k.shell.dev is >> 2.3Mb in size, it's the second largest artifact in the kit. >> >> Cheesr, >> Jamie >> >> On Mon, Jan 2, 2012 at 2:17 PM, Jean-Baptiste Onofr=E9 >> wrote: >> >>> Hi Guillaume, >>> >>> I noticed that also, but I didn't find time to investigate why. >>> >>> I will take a look tonight to make a diff between distributions. >>> >>> Thanks !! >>> Regards >>> JB >>> >>> >>> On 01/02/2012 06:17 PM, Guillaume Nodet wrote: >>> >>>> The size of the karaf distribution has doubled between 2.x and 3.x. >>>> It's now roughly 10 Mb. >>>> Is that really worth the new features that are now embedded by default= ? >>>> I think at least the minimal distribution should be much lighter ... >>>> >>>> -- >>> Jean-Baptiste Onofr=E9 >>> jbonofre@apache.org >>> http://blog.nanthrax.net >>> Talend - http://www.talend.com >>> >> > > -- > > Christian Schneider > http://www.liquid-reality.de > > Open Source Architect > Talend Application Integration Division http://www.talend.com > > --=20 Toni Menzel Source --90e6ba3fd26f5f4cb304b590b45e--