-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(init-templates): update init templates for csharp and java (#5059)
Changed C#/Java parameter naming to match ts Removed unnecessary null param in C# Significant Java init template revision to create empty app with correct structure using templated naming instead of sample app with static naming
- Loading branch information
Showing
10 changed files
with
21 additions
and
411 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
...lib/init-templates/app/java/src/main/java/com/myorg/%name.PascalCased%Stack.template.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.myorg; | ||
|
||
import software.amazon.awscdk.core.Stack; | ||
import software.amazon.awscdk.core.Construct; | ||
|
||
public class %name.PascalCased%Stack extends Stack { | ||
public %name.PascalCased%Stack(final Construct scope, final String id) { | ||
super(scope, id, null); | ||
|
||
// The code that defines your stack goes here | ||
} | ||
} |
32 changes: 0 additions & 32 deletions
32
packages/aws-cdk/lib/init-templates/app/java/src/main/java/com/myorg/HelloConstruct.java
This file was deleted.
Oops, something went wrong.
40 changes: 0 additions & 40 deletions
40
...ages/aws-cdk/lib/init-templates/app/java/src/main/java/com/myorg/HelloConstructProps.java
This file was deleted.
Oops, something went wrong.
40 changes: 0 additions & 40 deletions
40
packages/aws-cdk/lib/init-templates/app/java/src/main/java/com/myorg/HelloStack.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.