[
https://issues.apache.org/jira/browse/FELIX-1269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12723390#action_12723390
]
Thilo Planz commented on FELIX-1269:
------------------------------------
> 1. No, I still don't understand how explicitly updating a bundle helps when
> the dependencies are missing.
I am not asking for that.
I was just giving an example for a situation where a bundle was installed
initially by FIleInstall and later the FileInstall service went away.
> Even if a file changes while the framework has been shutdown, fileinstall is
> expected to update the bundle when framework is started subsequently.
I do not see why that would break if the bundle location was set to a URL.
FileInstall must internally have a list of bundles that it manages, and file
timestamps for them. That would not change.
> 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.