felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard S. Hall (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FELIX-839) Update with URL does not save new bundle location
Date Sat, 29 Nov 2008 22:48:44 GMT

    [ https://issues.apache.org/jira/browse/FELIX-839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12651765#action_12651765

Richard S. Hall commented on FELIX-839:

There are two forms of Bundle.update():

   * One accepting no arguments.
   * One accepting an input stream.

If you use the first form, then the updated bundle JAR file is loaded from the original bundle
location (or from Bundle-UpdateLocation if it is specified, but I don't recommend using this
metadata). If you use the second form, then the updated bundle JAR file is read from the input
stream. That's it. The original location never changes. It is constant.

> Update with URL does not save new bundle location
> -------------------------------------------------
>                 Key: FELIX-839
>                 URL: https://issues.apache.org/jira/browse/FELIX-839
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: felix-1.4.0
>         Environment: Also tried with felix-1.5.0-SNAPSHOT revision 719667.
> Windows environment, DOS shell.
>            Reporter: Walid Joseph Gedeon
> Steps to reproduce:
> 1. console> install file:///.../bundle-0.0.1.jar
>     5
> 2. console> update 5 file:///.../bundle-0.0.2.jar
> 3. file system: relocate bundle-0.0.1.jar
> 4. console> update 5
>     FileNotFoundException:  ...\bundle-0.0.1.jar (The system cannot find the file specified)
> Note: a refresh and/or restart before step 4 dont affect the outcome.

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

View raw message