OpenLiberty / ci.maven

Maven plugins for managing Liberty profile servers #devops
Apache License 2.0
130 stars 91 forks source link

Use OS specific file separator when printing out devc messages #900

Open TrevCraw opened 4 years ago

TrevCraw commented 4 years ago

Dev mode prints out messages like below on Windows, which uses a mixture of \ and /. We should ensure these messages have the correct file separator at all times.

-v C:\Users\TREVORCrawford\Git\demo-devmode/target/liberty/wlp/usr/servers/defaultServer/bootstrap.properties:/config/bootstrap.properties
ericglau commented 3 years ago

Also consider when local paths are Windows and container paths are Linux style. e.g. ...usr\servers\defaultServer\something\bootstrap.properties:/config/something/bootstrap.properties