Skip to content

Commit

Permalink
chore(cli): Java init template compiles apps before trying to run them (
Browse files Browse the repository at this point in the history
#8850)

The TypeScript and C# init templates use commands that compile the code before running it to prevent the user from forgetting. This adds the same functionality to the Java init template.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
Jerry Kindall authored Jul 9, 2020
1 parent 1293f60 commit c1f393f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/aws-cdk/lib/init-templates/app/java/cdk.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"app": "mvn -e -q exec:java"
"app": "mvn -e -q compile exec:java"
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"app": "mvn -e -q exec:java"
"app": "mvn -e -q compile exec:java"
}

0 comments on commit c1f393f

Please sign in to comment.