asbachb opened a new pull request, #6061:
URL: https://github.com/apache/netbeans/pull/6061
Today we have a {Java, Jakarta} EE `Profile` which contains information
about the release version and the profile (web, full). As NetBeans is able to
create certain files like `web.xml` we need to have a template which contain
schema information based on the {Java, Jakarta} EE specification.
Since prior to #5970 the profiles were `String` based most of the classes
relying on that information introduced if/else statements which are extended on
every {Java, Jakarta} EE release.
So basically my idea is to put more information about a {Java, Jakarta} EE
profile into the `Profile` class itself. So the idea is to provide the {Java,
Jakarta} EE specification in code so that the modules can access these
information.
My goal is to:
* Ease the efforts todo when a new Jakarta EE release is published
* Get rid of these long if/else statements
To get a better idea what I'm talking about I already implemented a poc.
@mbien What do you think: Should I proceed with the other deployment
descriptors or do you dislike the idea?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists