Add WebLogic 14.x and 15.x server support#9414
Conversation
Fixes apache#6109 **Issue** NetBeans WebLogic plugin did not recognize WebLogic 14.x and 15.x installations as supported versions and did not offer them as deployment targets for Jakarta EE projects. **Fix** - WebLogicLayout.isSupportedVersion(): replaced hardcoded version whitelist with isAboveOrEqual("9.0.0.0") so future versions are supported without code changes - WLDeploymentFactory: added VERSION_1411 and VERSION_1511 constants - WLJ2eePlatformFactory: added Java EE 8, Jakarta EE 8, Jakarta EE 9, 9.1, 10 and 11 profile support for WebLogic 14+ and 15+; added JDK 11 and 17 as supported Java versions for WebLogic 14+ and 15+ - BaseDescriptorModel: added VERSION_14_1_1 constant - WebLogicLayoutTest: added test coverage for versions 14.x and 15.x - Switched the module to javac.release=21 (NetBeans project baseline) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
6605323 to
6446239
Compare
|
Thanks for the review @mbien Addressed all three:
|
|
@ganigurgah sorry for the delay, I wasn't available for various reasons. Will try to get to this soon. |
mbien
left a comment
There was a problem hiding this comment.
we don't really have guidelines for LLM assisted contributions yet, I started a thread at https://lists.apache.org/thread/qhr3mfxg5wsv89d80nxzdd63ldjth07p to clear things up.
btw please don't add merge commits to the PR branch. It is ok to rebase if you would like to refresh, esp when the changeset is smaller. (we will merge the PR without rebase on integration)
running pull --rebase will also remove the merge commit again
git pull --rebase --autostash https://github.com/apache/netbeans.git master
and force push as before
| private static final Version JDK11_SUPPORTED_SERVER_VERSION = Version.fromJsr277NotationWithFallback("14.1.1"); // NOI18N | ||
|
|
||
| private static final Version JDK17_SUPPORTED_SERVER_VERSION = Version.fromJsr277NotationWithFallback("15.1.1"); // NOI18N |
There was a problem hiding this comment.
seems to be correct
- https://docs.oracle.com/en/middleware/standalone/weblogic-server/14.1.1.0/notes/whatsnew.html#GUID-960100E8-DFC1-49E5-8CED-1EC1D883A42F
- https://docs.oracle.com/en/middleware/standalone/weblogic-server/15.1.1/notes/whatsnew.html#GUID-B6E42F6B-3C3C-4332-A064-DE14CD1A7E5C
but the versioning scheme is a bit wild, e.g it seems like 14.1.2 also supports 17 and 21
might not be super important though, worst case is that JDK 11 will show up on a lower version in the combo box I suppose.
|
|
||
| protected static final Version VERSION_14_1_1 = Version.fromJsr277NotationWithFallback("14.1.1"); // NOI18N |
There was a problem hiding this comment.
this doesn't appear to be used.
this indicates that either:
- the three generate methods in the model classes
EjbJarModel,EarApplicationModelandWebApplicationModelneed to be updated - or update is not needed and the constant can be removed if the emitted code is OK for the version
Fixes #6109
Issue
NetBeans WebLogic plugin did not recognize WebLogic 14.x and 15.x installations as supported versions and did not offer them as deployment targets for Jakarta EE projects.
Fix