Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial Infrastructure setup doesn't work on a Windows machine #272

Open
jeastham1993 opened this issue Nov 10, 2022 · 3 comments
Open

Initial Infrastructure setup doesn't work on a Windows machine #272

jeastham1993 opened this issue Nov 10, 2022 · 3 comments

Comments

@jeastham1993
Copy link

Running the infrastructure-setup.sh doesn't work on a Windows machine. The issue is with the cdk.json file and how the app is specified. Currently, it is set to:

./mvnw -e -q compile exec:java

This fails on Windows due to the forward slash.

If I run a brand new cdk init app --language=java on a Windows machine the cdk.json file is set to:

mvn -e -q compile exec:java

Propose updating the default to support Windows, Mac and Linux.

@jeastham1993
Copy link
Author

Going through the rest of the workshop, none of the commands starting with ./mvnw work on a Windows machine.

@deki
Copy link
Contributor

deki commented Nov 11, 2022

Currently the workshop is supposed to run within AWS Cloud9 only. But as I'm a Windows user as well, it's definitely an improvement to work on...

@jandykiger
Copy link

I found that if I only changed labs/unicorn-store/infrastructure/cdk/cdk.json line 2 - it would work just fine on my Windows machine.
"app": "mvn -e -q compile exec:java",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants