You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by gn...@apache.org on 2020/03/06 13:51:23 UTC
[camel] 05/07: Fix camel-file-watch unit tests on OSX
This is an automated email from the ASF dual-hosted git repository.
gnodet pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
commit d75a31f143d514298c25d42515e8bec28ca85e6e
Author: Guillaume Nodet <gn...@gmail.com>
AuthorDate: Fri Mar 6 11:40:17 2020 +0100
Fix camel-file-watch unit tests on OSX
---
.../java/org/apache/camel/component/file/watch/FileWatchConsumer.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/camel-file-watch/src/main/java/org/apache/camel/component/file/watch/FileWatchConsumer.java b/components/camel-file-watch/src/main/java/org/apache/camel/component/file/watch/FileWatchConsumer.java
index 5f9d0be..cdd2581 100644
--- a/components/camel-file-watch/src/main/java/org/apache/camel/component/file/watch/FileWatchConsumer.java
+++ b/components/camel-file-watch/src/main/java/org/apache/camel/component/file/watch/FileWatchConsumer.java
@@ -62,7 +62,7 @@ public class FileWatchConsumer extends DefaultConsumer {
}
antPathMatcher = new AntPathMatcher();
- baseDirectory = Paths.get(getEndpoint().getPath());
+ baseDirectory = Paths.get(getEndpoint().getPath()).toAbsolutePath();
}
@Override