Hi Marcus,

the startup.properties can contain only bundles. So, you can create uber bundles (embedded other bundles) using the maven-shade-plugin, or directly the maven-bundle-plugin.

Regards
JB

On 10/07/2014 02:17 PM, Marcus Bond wrote:
Hi, yes that would be great.

I'm worried now though that we have other OSGi bundles of our own that
have embedded dependency libs that are not OSGi bundles and therefore
will also require "wrap", is this going to be a problem with startup?

Regards,
Marcus.

On Tue, Oct 7, 2014 at 12:57 PM, Jean-Baptiste Onofré <[email protected]
<mailto:[email protected]>> wrote:

    Hi,

    it's due to the fact that jandex is not an OSGi bundle, that's why
    it's prefixed with wrap.

    I guess that you don't need jandex in the startup.properties (but
    more as a featuresBoot). You can tweak the install-kar goal.

    Do you want some help around that ?

    Regards
    JB


    On 10/07/2014 12:46 PM, Marcus Bond wrote:

        I am receiving the following error but the system folder
        includes the
        jandex1.1.0.Final jar file

        Is there a way to get around this bug?

        SEVERE: Could not launch framework
        java.lang.RuntimeException: Error installing bundle listed in
        startup.properties with url:
        wrap:mvn:org.jboss/jandex/1.1.__0.Final and
        startlevel: 30
        at
        org.apache.karaf.main.Main.__installAndStartBundles(Main.__java:390)
        at org.apache.karaf.main.Main.__launch(Main.java:250)
        at org.apache.karaf.main.Main.__main(Main.java:171)
        Caused by: java.lang.RuntimeException: Could not resolve
        wrap:mvn:org.jboss/jandex/1.1.__0.Final
        at
        
org.apache.karaf.main.util.__SimpleMavenResolver.resolve(__SimpleMavenResolver.java:59)
        at
        org.apache.karaf.main.Main.__installAndStartBundles(Main.__java:383)
        ... 2 more


        Regards,
        Marcus.


    --
    Jean-Baptiste Onofré
    [email protected] <mailto:[email protected]>
    http://blog.nanthrax.net
    Talend - http://www.talend.com



--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to