aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kuffner (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (ARIES-1236) Subsystem cannot be loaded from directory it must be a Zip archive.
Date Wed, 13 Aug 2014 17:42:11 GMT

     [ https://issues.apache.org/jira/browse/ARIES-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Kuffner resolved ARIES-1236.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.1-SNAPSHOT

Seems to be working in 1.0.1-SNAPSHOT

> Subsystem cannot be loaded from directory it must be a Zip archive.
> -------------------------------------------------------------------
>
>                 Key: ARIES-1236
>                 URL: https://issues.apache.org/jira/browse/ARIES-1236
>             Project: Aries
>          Issue Type: Bug
>          Components: Subsystem
>    Affects Versions: 1.0
>         Environment: mac
>            Reporter: Daniel Kuffner
>             Fix For: 1.0.1-SNAPSHOT
>
>
> Steps to reproduce: 
> # Extract a simple subsystem archive (e.g.: http://coderthoughts.googlecode.com/files/subsystem1.esa)
> # Rename the folder to end with .esa  (e.g.:  subsystem1.esa)
> # Install subsystem, rootSubsystem.install(file://path/to/dir/subsystem1.esa);
> The subsystem will be installed but the bundles/jars are not imported/installed. 
> It seems like that the path to bundles gets screwed up by content.convertNested() in
the BundleResource class
> Please see: https://github.com/apache/aries/blob/trunk/subsystem/subsystem-core/src/main/java/org/apache/aries/subsystem/core/internal/BundleResource.java#L64
> Here is how the path looks like:
> {code}
> /path/to/dir/subsystem1.esa/BundleA_1.0.0.jar//BundleA_1.0.0.jar
> {code}
> Bundle Dependencies:
> {code}
> 'org.apache.aries.subsystem:org.apache.aries.subsystem.core:1.0.0'
> 'org.apache.aries.subsystem:org.apache.aries.subsystem:1.0.0'
> 'org.apache.aries.subsystem:org.apache.aries.subsystem.obr:1.0.0'
> 'org.apache.aries.subsystem:org.apache.aries.subsystem.api:1.0.0'
> 'org.apache.aries.application:org.apache.aries.application.api:1.0.0'
> 'org.apache.aries.application:org.apache.aries.application.modeller:1.0.0'
> 'org.apache.aries.application:org.apache.aries.application.utils:1.0.0'
> 'org.apache.aries.blueprint:org.apache.aries.blueprint:1.1.0'
> 'org.apache.aries.proxy:org.apache.aries.proxy:1.0.1'
> 'org.apache.aries:org.apache.aries.util:1.1.0'
> 'org.apache.felix:org.apache.felix.bundlerepository:1.6.6'
> 'org.apache.felix:org.apache.felix.resolver:1.0.0'
> 'org.eclipse.equinox:org.eclipse.equinox.coordinator:1.1.0.v20120522-1841'
> 'org.eclipse.equinox:org.eclipse.equinox.region:1.1.0.v20120522-1841'
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message