-
Notifications
You must be signed in to change notification settings - Fork 26
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 deploying exploded WAR/JAR for Java11 #1006
Comments
@ludoch is this a supported runtime on appengine right now? |
@loosebazooka AppEngine 11 is GA since October 2019. We're actively using the Gradle plugin for a couple of years already and it was a bit disappointing that the YAML part is much less powerful. |
Appegine 11 doesn't support war deployments as far as I can recall. Exploded war deployments are a Java 8 only feature. |
AppEngine 11 supports custom entry points. And as far as I understood, if one wants to use the So, if you have either a fat Jar or a In our case, we have a jetty-runner |
Right, at that point you're running an arbitrary container on appengine. Which is fine, but it's not a standard workflow for this plugin. But you are right, there is space for better static file support. |
Yep. But it looks like with the currently supported workflow the static files are not supported at all for yaml-based deployments? Could you please suggest some workaround? |
Hrmm.. @saturnism I know we can probably do some work here? Any suggestions in the meantime? |
@loosebazooka @saturnism are there any updates or suggestions on how to make it easier for developers to work with the static files? I would really appreciate some while we're moving forward with our migration to App Engine 11. |
Well I think the static files can be supported, just not automatically as they were in java8 (since that was a well defined workflow). Let me try to find some other people that can help document this. @ludoch @eamonnmcmanus ? |
eak! thnx for the ping. i totally missed this. There are several ways to do this, but at the end of the day, the static files needs to be exploded within the app engine deployment directory, and then in Here is @ludoch's example handlers section for JHipster uberjar deployment: |
Currently, the
artifact
config is waiting for a single JAR/WAR/Binary file to be uploaded, but this constraint has nothing to do with thegcloud app deploy
command.The use case: explode WAR file in order to configure static resources with Java11 application.
I'm referring to the approach described in the docs that allows deploying static files for Spring Boot uber-jar app: https://cloud.google.com/appengine/docs/standard/java11/serving-static-files#configuring_your_static_file_handlers
The text was updated successfully, but these errors were encountered: