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
replace that with some own code. On the other hand it may be interesting
to provide services in pax based on the aether api like get available
versions of artifact. Perhaps even browse maven repos with some
extensions. This would 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é<[email protected]> 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é
[email protected]
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