You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2015/12/14 17:35:46 UTC
[jira] [Resolved] (FELIX-5137) Felix Fileinstall: add support for
recursing and skipping subdirectories
[ https://issues.apache.org/jira/browse/FELIX-5137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet resolved FELIX-5137.
------------------------------------
Resolution: Fixed
Assignee: Guillaume Nodet
Fix Version/s: fileinstall-3.5.2
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/main/java/org/apache/felix/fileinstall/internal/FileInstall.java
M fileinstall/src/main/java/org/apache/felix/fileinstall/internal/Scanner.java
M fileinstall/src/main/java/org/apache/felix/fileinstall/internal/WatcherScanner.java
Committed r1719952
> Felix Fileinstall: add support for recursing and skipping subdirectories
> ------------------------------------------------------------------------
>
> Key: FELIX-5137
> URL: https://issues.apache.org/jira/browse/FELIX-5137
> Project: Felix
> Issue Type: Bug
> Components: File Install
> Affects Versions: fileinstall-3.5.0
> Reporter: Fabian Lange
> Assignee: Guillaume Nodet
> Fix For: fileinstall-3.5.2
>
>
> The current implementation follows the following pattern:
> if a file in a watched directory is changed, it is updated. If it resides in a subdirectory, that subdirectory is treated as jar.
> Sometimes it could be desired to organize files in subdirectories which shall not be treated as jars. sometimes you might want to have a separate watcher for a subdirectory, so the parent should skip them.
> therefor I propose the addition of a new property called "felix.fileinstall.subdir.mode" with the values "jar", "recurse" and "skip". jar being default if unset.
> This also would fix the problem described in FELIX-5134 which was found to be: works as designed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)