[ 
https://issues.apache.org/jira/browse/FELIX-1269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12723934#action_12723934
 ] 

Thilo Planz commented on FELIX-1269:
------------------------------------

> I wanted to understand the importance of this bug and how it was affecting.

Since, as you have pointed out, it is unlikely that you need to manually update 
bundles that FileInstall has installed, 
it is not very important.

And since it is not specified that the bundle location needs to be a URL (even 
though that would be preferable for interoperability),
this is probably not even a bug, but a feature request.

The inability to upgrade the bundle using its specified location is a complete 
non-issue for me.
I am however a little worried that there might be other subtle problems with 
not using a URL.

I found out about the "malformed" bundle location when looking at bug 
FELIX-1165 (which is an issue for me).

These two issues being related is of course pure speculation on my part, I have 
not really looked into it,
the bundle non-URL was just the first thing that stood out, and FELIX-1165 
mention bundle locations playing a role.
 

> MalformedURLException for bundle locations installed by FileInstall
> -------------------------------------------------------------------
>
>                 Key: FELIX-1269
>                 URL: https://issues.apache.org/jira/browse/FELIX-1269
>             Project: Felix
>          Issue Type: Bug
>          Components: File Install
>    Affects Versions:  fileinstall-1.0.0
>         Environment: FileInstall 1.1.0 
> Felix 1.8.0 
> Windows XP
>            Reporter: Thilo Planz
>            Priority: Minor
>
> Bundles installed by FileInstall have a bundle location that does not include 
> a protocol:
> -> ps -l
> START LEVEL 1
>    ID   State         Level  Location
> [   0] [Active     ] [    0] System Bundle
> [   1] [Active     ] [    1] 
> file:/e:/osgi/org.apache.felix.fileinstall-1.0.0.jar   <= "normal"
> [   2] [Active     ] [    1] /C:/bundles/org.osgi.compendium-1.2.0.jar   <=  
> file-installed
> As a result such a bundle cannot be updated using the shell command:
> -> update 2
> ERROR: Unable to update the bundle. (java.net.MalformedURLException: no 
> protocol: /C:/bundles/org.osgi.compendium-1.2.0.jar)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to