-
Notifications
You must be signed in to change notification settings - Fork 48
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
Add flex JAR template #2545
base: master
Are you sure you want to change the base?
Add flex JAR template #2545
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2545 +/- ##
============================================
+ Coverage 72.47% 72.63% +0.16%
- Complexity 2367 2381 +14
============================================
Files 347 348 +1
Lines 13837 13911 +74
Branches 1388 1389 +1
============================================
+ Hits 10028 10104 +76
- Misses 3237 3240 +3
+ Partials 572 567 -5
Continue to review full report at Codecov.
|
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.
HttpServer based is not the direction we want to go with this template. This should be based on Spring Boot. Feel free to ask me about this in person.
I agree that HttpServer based is not the ultimate goal we want to reach with this template. This is a step on the way and not yet user visible. |
Ah so the plan is to merge this and change it to be spring boot app before launch? That's better, but I don't fully understand how this is an incremental step in that direction. Why not make it spring boot based from the start? |
Fear not. I'll add a couple Spring Boot template files in this PR too. |
I agree that HttpServer is an uncommon approach, and we should aim for something that's closer to what users are likely to want. I'm still not convinced that SpringBoot is the way to go. Flex is far more general than that. I don't object to a SpringBoot wizard, but it shouldn't be the only option we offer. I don't want to give users the incorrect idea that Flex is about SpringBoot. |
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> | ||
<maven.compiler.source>1.8</maven.compiler.source> | ||
<maven.compiler.target>1.8</maven.compiler.target> | ||
<maven.compiler.showDeprecation>true</maven.compiler.showDeprecation> |
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.
Do we really want to show deprecation?
In general I prefer to keep samples minimal.
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.
The original and current standard env pom.xml
had this, and this is currently in every pom.xml
we generate. I'll remove all of them here. Just let me know if you change your mind.
great. Thanks for adding the spring boot files. Remove the HttpServer based project. It's a dead-end for users and adds to the maintenance burden. @saturnism @lesv FYI if you guys want to validate the boot app. |
I'm not sure about the HttpServer. It's not serving the same market as SpringBoot, but there are many apps for which it's exactly what's needed to run effectively on flex. There are also many apps for which SpringBoot is clearly overkill. We don't want to lock people into it or suggest that SpringBoot is the blessed and only way to build a flex app. I would like to see a simple Jetty based template too, though I'm not sure if we have resources to commit to it right now; and I certainly don't want to block this work waiting for something that can be added later. |
Towards #2470.
No UI, so this will be invisible to users.
The app created from this works when deployed.