[MAGNOLIA-7488] Directory watcher fails to exclude folders starting with '.' Created: 27/Mar/19 Updated: 27/Mar/19 |
|
| Status: | Open |
| Project: | Magnolia |
| Component/s: | None |
| Affects Version/s: | 6.0, 6.1 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Christoph Meier | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
OS-X 10.14.14 (Mojave), Magnolia 6.1-SNAPSHOT (EE pro) |
||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
| Description |
|
Users can set the property magnolia.resources.filesystem.observation.excludedDirectories to exclude directories from being observed for changes (see docu). On mac or linux, users may want to exclude directories starting with a dot such as .idea or .git. Apparently, when adding directories starting with a dot to the given property, these dirs are _not_excluded. Example configurations: magnolia.resources.filesystem.observation.excludedDirectories=.idea,META-INF,WEB-INF,cache,docroot,logs,repositories,tmp magnolia.resources.filesystem.observation.excludedDirectories=\.idea,META-INF,WEB-INF,cache,docroot,logs,repositories,tmp In both cases .idea is still observed.
Acceptance criteria Enable the possibility to exclude "dot-folders" aka "hidden folders". |