spring-cloud-contract-samples
spring-cloud-contract-samples copied to clipboard
Issues running samples on Windows OS
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
- Same error as
- producer_proto
- Uses /bin/bash, which isn't Windows friendly...
- producer_webflux_security
-
./keygen.shbash and sh aren't natively available -
GlobalSecurityConfig.ktis expectingpublic.txtto only have Linux line endings
-
- consumer
-
ROOTenvironment variable relies onpwdcommand (not available on Windows by default) -
pwdcommand is sometimes available for Windows users when running in Bash from Git for Windows.pwdreturns a *nix style path which does not work with the Java usage in the consumer.
-
- consumer_proto
- Same issue as with
producer_proto
- Same issue as with
- ... more to come