spring-cloud-contract-samples icon indicating copy to clipboard operation
spring-cloud-contract-samples copied to clipboard

Issues running samples on Windows OS

Open shanman190 opened this issue 5 years ago • 0 comments

At the moment collecting notes here with respect to running the samples on Windows and the issues involved with doing so.

  • producer_with_git
    • Windows path and JGit error
    • Git URIish: git://file://C:\git\spring-cloud-contract-sampels\producer_with_git\../target/
    • Seems like the '\' is the culprit
  • producer_with_git_empty
    • Same error as producer_with_git
  • producer_proto
    • Uses /bin/bash, which isn't Windows friendly...
  • producer_webflux_security
    • ./keygen.sh bash and sh aren't natively available
    • GlobalSecurityConfig.kt is expecting public.txt to only have Linux line endings
  • consumer
    • ROOT environment variable relies on pwd command (not available on Windows by default)
    • pwd command is sometimes available for Windows users when running in Bash from Git for Windows. pwd returns a *nix style path which does not work with the Java usage in the consumer.
  • consumer_proto
    • Same issue as with producer_proto
  • ... more to come

shanman190 avatar Dec 03 '20 00:12 shanman190