[
https://issues.apache.org/jira/browse/CAMEL-11885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16326889#comment-16326889
]
ASF GitHub Bot commented on CAMEL-11885:
----------------------------------------
davsclaus commented on issue #2011: CAMEL-11885: Add support for creating
folder by path in camel-box
URL: https://github.com/apache/camel/pull/2011#issuecomment-357891775
Okay lets get this merged as it was done similar to what the other code did,
and the reported has not updated the PR since
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Add support for creating folder by path in camel-box
> ----------------------------------------------------
>
> Key: CAMEL-11885
> URL: https://issues.apache.org/jira/browse/CAMEL-11885
> Project: Camel
> Issue Type: Improvement
> Components: camel-box
> Affects Versions: 2.19.3
> Reporter: Fredrik Jönsson
> Priority: Major
> Fix For: 2.21.0
>
>
> Add possibility to specify folder by path as String[] when creating folders
> in Box, similarly to getFolder. It makes creation of nested folders in routes
> much easier.
> Note that createFolder(String, String[]) doesn't throw exception when folders
> exists unlike createFolder(String, String). This can be argued, but mimics
> the behaviour of, e.g., mkdir on Linux.
> {{
> $ mkdir foo
> $ mkdir foo
> mkdir: foo: File exists
> $ mkdir -p foo/bar
> $ mkdir -p foo/bar
> $
> }}
> Patch will follow.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)