[jira] [Commented] (CAMEL-17651) RouteWatcherReloadStrategy crashes on Windows or if pattern is not specified

2022-02-15 Thread JP Moresmau (Jira)


[ 
https://issues.apache.org/jira/browse/CAMEL-17651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17492866#comment-17492866
 ] 

JP Moresmau commented on CAMEL-17651:
-

PR sent. Probably messed up the formatting as I don't understand how to pass 
formatting checks.

> RouteWatcherReloadStrategy crashes on Windows or if pattern is not specified
> 
>
> Key: CAMEL-17651
> URL: https://issues.apache.org/jira/browse/CAMEL-17651
> Project: Camel
>  Issue Type: Bug
>  Components: camel-core
>Affects Versions: 3.15.0
> Environment: Windows
>Reporter: JP Moresmau
>Priority: Minor
> Fix For: 3.16.0
>
>
> On Windows, the FileFilter fails because we try to split the path using '/'.
> If I don't set a pattern, it's set to null, and pattern.split(',') fails.
> The doc states that the default pattern is \*.yaml,*.xml, so it should be 
> possible not to set a pattern.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Commented] (CAMEL-17651) RouteWatcherReloadStrategy crashes on Windows or if pattern is not specified

2022-02-15 Thread Claus Ibsen (Jira)


[ 
https://issues.apache.org/jira/browse/CAMEL-17651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17492862#comment-17492862
 ] 

Claus Ibsen commented on CAMEL-17651:
-

You are welcome to send a PR and test it on windows

> RouteWatcherReloadStrategy crashes on Windows or if pattern is not specified
> 
>
> Key: CAMEL-17651
> URL: https://issues.apache.org/jira/browse/CAMEL-17651
> Project: Camel
>  Issue Type: Bug
>  Components: camel-core
>Affects Versions: 3.15.0
> Environment: Windows
>Reporter: JP Moresmau
>Priority: Minor
> Fix For: 3.16.0
>
>
> On Windows, the FileFilter fails because we try to split the path using '/'.
> If I don't set a pattern, it's set to null, and pattern.split(',') fails.
> The doc states that the default pattern is \*.yaml,*.xml, so it should be 
> possible not to set a pattern.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)