-
Notifications
You must be signed in to change notification settings - Fork 84
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
Executable fat WARs e.g. from Spring Boot should work without requiring setting JAVA_APP_JAR with fixed version #123
Comments
Actually, @vorburger would you mind to open an issue over there to track it ? It would be automatically picked up by this image (when the dep to run-java-sh block is updated) and also other images (like the plain java image) would benefit, too. thanks ! |
yup, I noticed that playing with it... but FYI it's quite typical e.g. in Spring Boot projects that some build produces some JAR and/or WAR and then some Maven / Gradle plugin post-processes that to be executable and what not - and, typically, leaves the original in place.
==> fabric8io-images/run-java-sh#65 ok? |
perfect, thanks ! |
we really should fix fabric8io-images/s2i#123
fabric8io-images/run-java-sh#79 is probably a better approach actually... |
so if/when @rhuss merges fabric8io-images/run-java-sh#80, and makes a new release of run-java-sh, then we can fix this here "just" by bumping the version ... what would be neat is to have our |
|
run-java PRs are merged and a v1.3.1 release released, so I think we are good with updating it here. |
Now produces WAR instead of JAR, and self tests TODO get test.sh to actually pass (it currently fails) fabric8io-images#123
Nope, it's actually broken... 😈 see fabric8io-images/run-java-sh#79 & fabric8io-images/run-java-sh#80. |
test.sh currently fails with this - it's TDD to illustrate the problem; the next commits fix the problem and make this example pass test.sh fabric8io-images#123
This also (totally unrelated to fabric8io-images#123) gives us fabric8io-images/run-java-sh#78
This is only one part of and required by fabric8io-images#123, but not the only problem and complete solution, yet. fabric8io-images#123
This also (totally unrelated to fabric8io-images#123) gives us fabric8io-images/run-java-sh#78
test.sh currently fails with this - it's TDD to illustrate the problem; the next commits fix the problem and make this example pass test.sh #123
This also (totally unrelated to #123) gives us fabric8io-images/run-java-sh#78
I'm finding that one currently has to put this e.g. into a
.s2i/environment
, e.g. to use this with Spring Boot:when it would be much nicer (and avoid confusion on versin bumps) if we could support wildcard expansion in JAVA_APP_JAR, just like it is allowed in other environment variables:
The text was updated successfully, but these errors were encountered: