You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Filippo Diotalevi (JIRA)" <ji...@apache.org> on 2009/07/20 21:08:14 UTC
[jira] Resolved: (FELIX-1269) MalformedURLException for bundle
locations installed by FileInstall
[ https://issues.apache.org/jira/browse/FELIX-1269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Filippo Diotalevi resolved FELIX-1269.
--------------------------------------
Resolution: Fixed
Fix Version/s: fileinstall-1.4.0
Thanks for submitting the patch. The use case it address is unusual, but I believe it's a good thing to install all the bundles using the URI.
I committed the cumulative patch attached to FELIX-1387
svn ci -m "FELIX-1269 FELIX-1387 cumulative patch submitted by Sahoo"
Sending fileinstall/src/main/java/org/apache/felix/fileinstall/DirectoryWatcher.java
Sending fileinstall/src/main/java/org/apache/felix/fileinstall/Jar.java
Transmitting file data ..
Committed revision 795957.
Please close the issue if satisfied.
> 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
> Assignee: Filippo Diotalevi
> Priority: Minor
> Fix For: fileinstall-1.4.0
>
> Attachments: Felix-1269.patch
>
>
> 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.