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

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

> Firstly, why do you have to update a bundle that's managed by fileinstall? 

I shut down FileInstall sometimes.

Especially when it repeatedly tries (and fails to) resolve a bundle whose 
dependencies are still missing every two seconds.
This may only be a problem during development.

> Secondly, assumption that the location is a URL is a problem in itself. 

Maybe.
But as it is, the Bundle.update() method (which is called by the "update" shell 
command) does not work.
Making it a valid URL would improve interoperability.






> 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