[ 
https://issues.apache.org/jira/browse/MESOS-7803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16181141#comment-16181141
 ] 

Andrew Schwartzmeyer commented on MESOS-7803:
---------------------------------------------

{noformat}
73-    foreach (const string& jar, jars.get()) {
74-#ifdef __WINDOWS__
75-      // TODO(andschwa): `fs::list` on Windows only returns the file names, 
not
76:      // the full paths. Remove this work-around when MESOS-7803 is resolved.
77-      classpath += ";" + path::join(zkHome, "lib", jar);
78-#else
79-      classpath += ":" + jar;
80-#endif
81-    }
{noformat}

> fs::list drops path components on Windows
> -----------------------------------------
>
>                 Key: MESOS-7803
>                 URL: https://issues.apache.org/jira/browse/MESOS-7803
>             Project: Mesos
>          Issue Type: Bug
>          Components: stout
>         Environment: Windows 10
>            Reporter: Andrew Schwartzmeyer
>            Assignee: Andrew Schwartzmeyer
>              Labels: windows
>
> fs::list(/foo/bar/*.txt) returns a.txt, b.txt, not /foo/bar/a.txt, 
> /foo/bar/b.txt
> This breaks a ZooKeeper test on Windows.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to