-
Notifications
You must be signed in to change notification settings - Fork 139
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
Support Windows Java SE runtime #850
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #850 +/- ##
=============================================
+ Coverage 44.55% 44.75% +0.19%
Complexity 765 765
=============================================
Files 134 134
Lines 5169 5146 -23
Branches 742 737 -5
=============================================
Hits 2303 2303
+ Misses 2692 2669 -23
Partials 174 174
Continue to review full report at Codecov.
|
Files.copy(jar, new File(parent, jar.getName())); | ||
WebAppUtils.generateWebConfigFile(deployTarget, jar.getName(), stagingDirectoryPath, log); | ||
} | ||
Files.copy(jar, new File(parent, DEFAULT_LINUX_JAR_NAME)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DEFAULT_LINUX_JAR_NAME should be renamed to DEFAULT_JAR_NAME ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DEFAULT_LINUX_JAR_NAME and DEFAULT_JAVA_SE_JAR_NAME are same?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, we need rename the executable jar file to app.jar
, both for windows and linux
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Renamed to DEFAULT_APP_SERVICE_JAR_NAME
@@ -27,6 +27,10 @@ | |||
|
|||
public static final String RUNTIME_CONFIG_REFERENCE = "https://aka.ms/maven_webapp_runtime"; | |||
|
|||
static { | |||
WebContainer.fromString("java 11"); // Add Java 11 Enum as Fluent SDK had not added it yet |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
JAVA_11_STRING ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
Support Windows Java SE runtime, remove old workaround(
web.config
)