karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Nodet <gno...@gmail.com>
Subject Re: [DISCUSS] Updating karaf core bundles in 3.0
Date Fri, 30 Sep 2011 17:07:25 GMT
osgi:update does work on any version, but for non snapshots, those are not
supposed to change.
dev:watch is limited to snaphots.

I just wonder if we can use a file url *and* specifiy a different update url
or something like that.  I need to take a closer look.  Where is the code
using the reference url handler ? The startup properties file still uses mvn
urls ...

On Fri, Sep 30, 2011 at 18:48, David Jencks <david_jencks@yahoo.com> wrote:

> If you use a mvn url then you get two copies of the jar, one in system and
> a copy in the data area.  My first reason for changing to this was to use
> reference: urls for everything in the system folder to halve the size of the
> server.  Since then I've had enough problems with the mvn url handler
> downloading and installing bizarre versions of jars that I'm beginning to
> question its use at all.
>
> do the osgi:update and dev:watch work on anything other than snapshot
> versions?
>
> thanks
> david jencks
>
> On Sep 30, 2011, at 1:18 AM, Guillaume Nodet wrote:
>
> > I have a problem with the way the current trunk installs the default core
> > bundles.
> > Those are installed using an absolute file location such as shown below.
> >
> > I think this lead to multiple problems, such as osgi:update / dev:watch
> do
> > not work anymore on those bundles, as those were relying on the mvn url
> so
> > that new versions could be found in the local maven repositories.
> >
> > Is there any good reason for having this behavior instead of the previous
> > one  we had in 2.x ?
> >
> > karaf@root> osgi:list -t 0 -l -u
> > START LEVEL 100 , List Threshold: 0
> >   ID   State         Blueprint      Level  Location
> > [   0] [Active     ] [            ] [    0] System Bundle
> > [   1] [Active     ] [            ] [    5]
> >
> file:/Users/gnodet/work/git/karaf/assemblies/apache-karaf-full/target/apache-karaf-full-3.0.0-SNAPSHOT/system/org/ops4j/pax/url/pax-url-aether/1.3.5/pax-url-aether-1.3.5.jar
> > [   2] [Active     ] [            ] [    5]
> >
> file:/Users/gnodet/work/git/karaf/assemblies/apache-karaf-full/target/apache-karaf-full-3.0.0-SNAPSHOT/system/org/ops4j/pax/url/pax-url-wrap/1.3.5/pax-url-wrap-1.3.5.jar
> > [   3] [Active     ] [            ] [    8]
> >
> file:/Users/gnodet/work/git/karaf/assemblies/apache-karaf-full/target/apache-karaf-full-3.0.0-SNAPSHOT/system/org/ops4j/pax/logging/pax-logging-service/1.6.3/pax-logging-service-1.6.3.jar
> > [   4] [Active     ] [            ] [    8]
> >
> file:/Users/gnodet/work/git/karaf/assemblies/apache-karaf-full/target/apache-karaf-full-3.0.0-SNAPSHOT/system/org/ops4j/pax/logging/pax-logging-api/1.6.3/pax-logging-api-1.6.3.jar
> > [   5] [Active     ] [            ] [   10]
> >
> file:/Users/gnodet/work/git/karaf/assemblies/apache-karaf-full/target/apache-karaf-full-3.0.0-SNAPSHOT/system/org/apache/felix/org.apache.felix.configadmin/1.2.8/org.apache.felix.configadmin-1.2.8.jar
> > [   6] [Active     ] [            ] [   11]
> >
> file:/Users/gnodet/work/git/karaf/assemblies/apache-karaf-full/target/apache-karaf-full-3.0.0-SNAPSHOT/system/org/apache/felix/org.apache.felix.fileinstall/3.1.10/org.apache.felix.fileinstall-3.1.10.jar
> > [   7] [Active     ] [            ] [   20]
> >
> file:/Users/gnodet/work/git/karaf/assemblies/apache-karaf-full/target/apache-karaf-full-3.0.0-SNAPSHOT/system/org/apache/servicemix/bundles/org.apache.servicemix.bundles.asm/3.3_2/org.apache.servicemix.bundles.asm-3.3_2.jar
> > [   8] [Active     ] [Created     ] [   20]
> >
> file:/Users/gnodet/work/git/karaf/assemblies/apache-karaf-full/target/apache-karaf-full-3.0.0-SNAPSHOT/system/org/apache/aries/blueprint/org.apache.aries.blueprint/0.3.1/org.apache.aries.blueprint-0.3.1.jar
> > [   9] [Active     ] [            ] [   20]
> >
> file:/Users/gnodet/work/git/karaf/assemblies/apache-karaf-full/target/apache-karaf-full-3.0.0-SNAPSHOT/system/org/apache/aries/proxy/org.apache.aries.proxy/0.3/org.apache.aries.proxy-0.3.jar
> > [  10] [Active     ] [            ] [   20]
> >
> file:/Users/gnodet/work/git/karaf/assemblies/apache-karaf-full/target/apache-karaf-full-3.0.0-SNAPSHOT/system/org/apache/aries/org.apache.aries.util/0.3/org.apache.aries.util-0.3.jar
> > [  11] [Active     ] [Created     ] [   25]
> >
> file:/Users/gnodet/work/git/karaf/assemblies/apache-karaf-full/target/apache-karaf-full-3.0.0-SNAPSHOT/system/org/apache/karaf/features/org.apache.karaf.features.core/3.0.0-SNAPSHOT/org.apache.karaf.features.core-3.0.0-SNAPSHOT.jar
> > [  12] [Active     ] [Created     ] [   30]
> >
> file:/Users/gnodet/work/git/karaf/assemblies/apache-karaf-full/target/apache-karaf-full-3.0.0-SNAPSHOT/system/org/apache/karaf/shell/org.apache.karaf.shell.osgi/3.0.0-SNAPSHOT/org.apache.karaf.shell.osgi-3.0.0-SNAPSHOT.jar
> > [  13] [Active     ] [Created     ] [   30]
> >
> file:/Users/gnodet/work/git/karaf/assemblies/apache-karaf-full/target/apache-karaf-full-3.0.0-SNAPSHOT/system/org/apache/karaf/shell/org.apache.karaf.shell.commands/3.0.0-SNAPSHOT/org.apache.karaf.shell.commands-3.0.0-SNAPSHOT.jar
> > [  14] [Active     ] [Created     ] [   30]
> >
> file:/Users/gnodet/work/git/karaf/assemblies/apache-karaf-full/target/apache-karaf-full-3.0.0-SNAPSHOT/system/org/apache/karaf/jaas/org.apache.karaf.jaas.config/3.0.0-SNAPSHOT/org.apache.karaf.jaas.config-3.0.0-SNAPSHOT.jar
> > [  15] [Active     ] [Created     ] [   30]
> >
> file:/Users/gnodet/work/git/karaf/assemblies/apache-karaf-full/target/apache-karaf-full-3.0.0-SNAPSHOT/system/org/apache/karaf/shell/org.apache.karaf.shell.console/3.0.0-SNAPSHOT/org.apache.karaf.shell.console-3.0.0-SNAPSHOT.jar
> > [  16] [Active     ] [Created     ] [   30]
> >
> file:/Users/gnodet/work/git/karaf/assemblies/apache-karaf-full/target/apache-karaf-full-3.0.0-SNAPSHOT/system/org/apache/karaf/jaas/org.apache.karaf.jaas.modules/3.0.0-SNAPSHOT/org.apache.karaf.jaas.modules-3.0.0-SNAPSHOT.jar
> > [  17] [Active     ] [Created     ] [   30]
> >
> file:/Users/gnodet/work/git/karaf/assemblies/apache-karaf-full/target/apache-karaf-full-3.0.0-SNAPSHOT/system/org/apache/karaf/shell/org.apache.karaf.shell.system/3.0.0-SNAPSHOT/org.apache.karaf.shell.system-3.0.0-SNAPSHOT.jar
> > [  18] [Active     ] [Created     ] [   30]
> > mvn:org.apache.karaf.shell/org.apache.karaf.shell.config/3.0.0-SNAPSHOT
> > [  19] [Active     ] [            ] [   30]
> > mvn:org.apache.mina/mina-core/2.0.3
> > [  20] [Active     ] [            ] [   30]
> > mvn:org.apache.sshd/sshd-core/0.5.0
> > [  21] [Active     ] [Created     ] [   30]
> > mvn:org.apache.karaf.shell/org.apache.karaf.shell.ssh/3.0.0-SNAPSHOT
> > [  22] [Active     ] [Created     ] [   30]
> > mvn:org.apache.karaf/org.apache.karaf.management/3.0.0-SNAPSHOT
> > [  23] [Active     ] [            ] [   30]
> > mvn:org.apache.aries.jmx/org.apache.aries.jmx/0.3
> > [  24] [Active     ] [            ] [   30]
> > mvn:org.apache.aries.jmx/org.apache.aries.jmx.blueprint/0.3
> > [  25] [Active     ] [Created     ] [   30]
> > mvn:org.apache.karaf.admin/org.apache.karaf.admin.core/3.0.0-SNAPSHOT
> > [  26] [Active     ] [Created     ] [   30]
> > mvn:org.apache.karaf.admin/org.apache.karaf.admin.command/3.0.0-SNAPSHOT
> > [  27] [Active     ] [Created     ] [   30]
> >
> mvn:org.apache.karaf.admin/org.apache.karaf.admin.management/3.0.0-SNAPSHOT
> > [  28] [Active     ] [Created     ] [   30]
> >
> mvn:org.apache.karaf.deployer/org.apache.karaf.deployer.spring/3.0.0-SNAPSHOT
> > [  29] [Active     ] [Created     ] [   30]
> >
> mvn:org.apache.karaf.deployer/org.apache.karaf.deployer.blueprint/3.0.0-SNAPSHOT
> > [  30] [Active     ] [Created     ] [   30]
> >
> mvn:org.apache.karaf.deployer/org.apache.karaf.deployer.features/3.0.0-SNAPSHOT
> > [  31] [Active     ] [Created     ] [   30]
> >
> mvn:org.apache.karaf.deployer/org.apache.karaf.deployer.kar/3.0.0-SNAPSHOT
> > [  32] [Active     ] [Created     ] [   30]
> >
> mvn:org.apache.karaf.deployer/org.apache.karaf.deployer.wrap/3.0.0-SNAPSHOT
> > [  33] [Active     ] [Created     ] [   60]
> >
> mvn:org.apache.karaf.features/org.apache.karaf.features.command/3.0.0-SNAPSHOT
> > [  34] [Active     ] [Created     ] [   60]
> >
> mvn:org.apache.karaf.features/org.apache.karaf.features.management/3.0.0-SNAPSHOT
> > [  35] [Active     ] [            ] [   60]
> >
> mvn:org.apache.karaf.diagnostic/org.apache.karaf.diagnostic.core/3.0.0-SNAPSHOT
> > [  36] [Active     ] [Created     ] [   60]
> >
> mvn:org.apache.karaf.diagnostic/org.apache.karaf.diagnostic.common/3.0.0-SNAPSHOT
> > [  37] [Active     ] [Created     ] [   60]
> >
> mvn:org.apache.karaf.diagnostic/org.apache.karaf.diagnostic.command/3.0.0-SNAPSHOT
> > [  38] [Active     ] [Created     ] [   60]
> >
> mvn:org.apache.karaf.diagnostic/org.apache.karaf.diagnostic.management/3.0.0-SNAPSHOT
> > [  39] [Active     ] [Created     ] [   60]
> > mvn:org.apache.karaf.shell/org.apache.karaf.shell.log/3.0.0-SNAPSHOT
> > [  40] [Active     ] [Created     ] [   60]
> > mvn:org.apache.karaf.shell/org.apache.karaf.shell.packages/3.0.0-SNAPSHOT
> > [  41] [Active     ] [Created     ] [   60]
> > mvn:org.apache.karaf.shell/org.apache.karaf.shell.dev/3.0.0-SNAPSHOT
> > [  42] [Active     ] [Created     ] [   60]
> > mvn:org.apache.karaf.jaas/org.apache.karaf.jaas.command/3.0.0-SNAPSHOT
> > karaf@root>
> >
> >
> >
> >
> > --
> > ------------------------
> > Guillaume Nodet
> > ------------------------
> > Blog: http://gnodet.blogspot.com/
> > ------------------------
> > Open Source SOA
> > http://fusesource.com
>
>


-- 
------------------------
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message