aws-samples / aws-samples/aws-lambda-java-workshop

Initial Infrastructure setup doesn't work on a Windows machine

Open
#272 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
Java
Stars
70
Forks
41
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.