You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Lars Heinemann (JIRA)" <ji...@apache.org> on 2009/10/07 09:20:31 UTC
[jira] Created: (FELIX-1716) Fileinstall does not recognize changes
in lastmodification date of an uninstalled bundle inside deploy folder
Fileinstall does not recognize changes in lastmodification date of an uninstalled bundle inside deploy folder
-------------------------------------------------------------------------------------------------------------
Key: FELIX-1716
URL: https://issues.apache.org/jira/browse/FELIX-1716
Project: Felix
Issue Type: Bug
Components: File Install
Affects Versions: karaf-1.0.0
Reporter: Lars Heinemann
I did osgi:uninstall on a bundle. The bundle file still stays in the deploy folder.
Now I did a touch on that file but it was not installed again automatically. I had to move it out of the folder and back in again
and then it got installed. Looks like a bug to me.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (FELIX-1716) Fileinstall does not recognize
changes in lastmodification date of an uninstalled bundle inside deploy
folder
Posted by "Lars Heinemann (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-1716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12765662#action_12765662 ]
Lars Heinemann commented on FELIX-1716:
---------------------------------------
Sorry for the late comment. Yes. You did it exactly as I would expect it. If the timestamp changes the artifact should be installed again.
Thanks!
> Fileinstall does not recognize changes in lastmodification date of an uninstalled bundle inside deploy folder
> -------------------------------------------------------------------------------------------------------------
>
> Key: FELIX-1716
> URL: https://issues.apache.org/jira/browse/FELIX-1716
> Project: Felix
> Issue Type: Bug
> Components: File Install
> Affects Versions: karaf-1.0.0
> Reporter: Lars Heinemann
> Assignee: Guillaume Nodet
> Fix For: fileinstall-2.0.2
>
>
> I did osgi:uninstall on a bundle. The bundle file still stays in the deploy folder.
> Now I did a touch on that file but it was not installed again automatically. I had to move it out of the folder and back in again
> and then it got installed. Looks like a bug to me.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (FELIX-1716) Fileinstall does not recognize
changes in lastmodification date of an uninstalled bundle inside deploy
folder
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-1716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12765576#action_12765576 ]
Guillaume Nodet commented on FELIX-1716:
----------------------------------------
I'm not very keen on having fileinstall performing file deletion in the watched folders. it might be very confusing to the user.
I think fileinstall should just forget about the artifact, and any new modification would reinstall it.
> Fileinstall does not recognize changes in lastmodification date of an uninstalled bundle inside deploy folder
> -------------------------------------------------------------------------------------------------------------
>
> Key: FELIX-1716
> URL: https://issues.apache.org/jira/browse/FELIX-1716
> Project: Felix
> Issue Type: Bug
> Components: File Install
> Affects Versions: karaf-1.0.0
> Reporter: Lars Heinemann
>
> I did osgi:uninstall on a bundle. The bundle file still stays in the deploy folder.
> Now I did a touch on that file but it was not installed again automatically. I had to move it out of the folder and back in again
> and then it got installed. Looks like a bug to me.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (FELIX-1716) Fileinstall does not recognize
changes in lastmodification date of an uninstalled bundle inside deploy
folder
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-1716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12765569#action_12765569 ]
Guillaume Nodet commented on FELIX-1716:
----------------------------------------
Would you expect fileinstall to delete the artifact from the deploy folder if the user manually uninstalled the bundle ?
That could make sense, because if we don't do that, when the framework is restarted, fileinstall will automatically re-install the artifact i think.
> Fileinstall does not recognize changes in lastmodification date of an uninstalled bundle inside deploy folder
> -------------------------------------------------------------------------------------------------------------
>
> Key: FELIX-1716
> URL: https://issues.apache.org/jira/browse/FELIX-1716
> Project: Felix
> Issue Type: Bug
> Components: File Install
> Affects Versions: karaf-1.0.0
> Reporter: Lars Heinemann
>
> I did osgi:uninstall on a bundle. The bundle file still stays in the deploy folder.
> Now I did a touch on that file but it was not installed again automatically. I had to move it out of the folder and back in again
> and then it got installed. Looks like a bug to me.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (FELIX-1716) Fileinstall does not recognize
changes in lastmodification date of an uninstalled bundle inside deploy
folder
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-1716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet resolved FELIX-1716.
------------------------------------
Resolution: Fixed
Fix Version/s: fileinstall-2.0.2
Assignee: Guillaume Nodet
Committing to https://svn.apache.org/repos/asf/felix/trunk ...
M fileinstall/src/main/java/org/apache/felix/fileinstall/internal/DirectoryWatcher.java
M fileinstall/src/test/java/org/apache/felix/fileinstall/internal/DirectoryWatcherTest.java
Committed r825165
Fileinstall now listens for uninstalled bundles and just forget about those so that any new change on the artifact or restarting the fileinstall bundle would lead to the artifact being reinstalled.
> Fileinstall does not recognize changes in lastmodification date of an uninstalled bundle inside deploy folder
> -------------------------------------------------------------------------------------------------------------
>
> Key: FELIX-1716
> URL: https://issues.apache.org/jira/browse/FELIX-1716
> Project: Felix
> Issue Type: Bug
> Components: File Install
> Affects Versions: karaf-1.0.0
> Reporter: Lars Heinemann
> Assignee: Guillaume Nodet
> Fix For: fileinstall-2.0.2
>
>
> I did osgi:uninstall on a bundle. The bundle file still stays in the deploy folder.
> Now I did a touch on that file but it was not installed again automatically. I had to move it out of the folder and back in again
> and then it got installed. Looks like a bug to me.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.