You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Richard S. Hall (JIRA)" <ji...@apache.org> on 2011/01/23 17:10:43 UTC

[jira] Commented: (FELIX-2796) felix.auto.deploy.action has no effect with "update" action

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

Richard S. Hall commented on FELIX-2796:
----------------------------------------

The intent is as you describe, to automatically update the bundles in the auto-deploy directory each time the framework is started. I just did a test and it worked for me. I even tried it with only update and I didn't see an NPE. Note that if you only have update, update will cause any bundles to be installed, only updated if they are already installed.

Perhaps you could create a working framework install directory where this is failing and archive it up and attach it to this issue.

> felix.auto.deploy.action has no effect with "update" action
> -----------------------------------------------------------
>
>                 Key: FELIX-2796
>                 URL: https://issues.apache.org/jira/browse/FELIX-2796
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: framework-3.0.5
>         Environment: JDK6, Win7
>            Reporter: Zhou
>
> I used: 
> felix.auto.deploy.action=install,update,start
> and expected it to update a bundle when I overwrite the jar file in the deploy dir and restart the framework.
> Felix simply ignores and no update is done to the bundle regardless the jar file has been updated.
> if I used:
> felix.auto.deploy.actioin=update
> Felix would not be able to start. it would fail with NullPointerException.
> Generally, my goal was to auto update bundles with their jar files updated in the folder whenever felix is restarted.

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