[
https://issues.apache.org/jira/browse/FELIX-2796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12993133#comment-12993133
]
Richard S. Hall commented on FELIX-2796:
----------------------------------------
Regarding your original attempt to use auto-deploy and auto-start mechanisms
together, in theory, this should work, but it wasn't exactly intended to be
used that way. To make it work, you'd have to make sure to use the absolute URL
on the auto-start property, because bundles installed via the auto-deploy
directory end up using their absolute path as their location URL.
> felix.auto.deploy.action throws NPE with only "update" action
> -------------------------------------------------------------
>
> Key: FELIX-2796
> URL: https://issues.apache.org/jira/browse/FELIX-2796
> Project: Felix
> Issue Type: Bug
> Components: Main
> Affects Versions: framework-3.0.5
> Environment: JDK6, Win7
> Reporter: Zhou
> Priority: Minor
> Fix For: framework-3.2.0
>
> Attachments: FELIX-2796.zip
>
>
> 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira