Skip to content
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

Release of 3.0.0-M1 Implementation Needed #152

Closed
smillidge opened this issue Apr 5, 2020 · 20 comments
Closed

Release of 3.0.0-M1 Implementation Needed #152

smillidge opened this issue Apr 5, 2020 · 20 comments

Comments

@smillidge
Copy link

For further development of GlassFish 6.0.0 we need at least a milestone release of the 3..0.0-M1 implementation. The API is released to maven central but there is not release of the implementation.

@markt-asf
Copy link
Contributor

The package rename has been completed (well, there don't appear to be any errors in my IDE) but I am not sure what state the implementation is overall. I have limited time so I am focusing my time on the parts that matter to me - the API, the specification document and the TCK.
@arjantijms indicated a desire to move this forward. There haven't been any commits since. I don't know if that is because Arjan hasn't had the time or it s simply that there is nothing to do.
There is milestone release of Apache Tomcat's Jakarta EL 4.0 implementation available on Maven Central if that is any help to you in the short term.

@arjantijms
Copy link
Contributor

Last two weeks have been utterly mental, so it's purely a lack of time issue. I'll look at this one soon though.

@smillidge
Copy link
Author

Jakarta EE 9 can't be released without GlassFish and I'm blocked on this currently. I can do a PR if a PR is needed but I can't merge or run Jenkins jobs.

@markt-asf
Copy link
Contributor

Sorry, got my EL and JSP folders mixed up. Unlike the EL implementation, Tomcat's Jakarta EE 9 JSP implementation is unlikely to be a drop in replacement for Glassfish.

@markt-asf
Copy link
Contributor

Also, the package rename hasn't been completed for the JSP impl. If someone wants to put together a PR for that I'm willing to approve/commit it providing it passes a basic sanity check.

@joakime joakime linked a pull request Apr 6, 2020 that will close this issue
@joakime
Copy link
Contributor

joakime commented Apr 6, 2020

I opened PR #153 to attempt this change to the codebase.

AFAICT, /api/ was already converted.
Only the /impl/ tree needed work.

@joakime joakime removed a link to a pull request Apr 6, 2020
joakime added a commit that referenced this issue Apr 9, 2020
@joakime
Copy link
Contributor

joakime commented Apr 9, 2020

The master branch now has the javax.* -> jakarta.* namespace change present (from PR#153)

@smillidge
Copy link
Author

Thanks it needs someone on the project now to poke Jenkins to get a release

@arjantijms
Copy link
Contributor

As the requirements for Jakarta EE 9 are JDK 11 for the implementations, shall I set the minimal JDK version to 11?

And pros/cons?

@arjantijms
Copy link
Contributor

(btw, the project currently doesn't compile using JDK 11 at all, so that should be fixed at least)

@joakime
Copy link
Contributor

joakime commented Apr 10, 2020

Why are the other projects doing bytecode at Java 8 for Jakarta EE 9 then?

@markt-asf
Copy link
Contributor

Please see the Jakarta EE 9 release plan. TL;DR - Java 8 is the minimum version for API projects.

@markt-asf
Copy link
Contributor

While the implementations need to run on Java 11 to certify so they could switch to Java 11, I'd leave the minimum Java version for this impl as Java 8. I'm curious why it doesn't compile with Java 11 though.

@joakime
Copy link
Contributor

joakime commented Apr 10, 2020

I'll take a look at the java 11 compile issue.

@arjantijms
Copy link
Contributor

@joakime I'm already looking at it, it's just Javadoc

@arjantijms
Copy link
Contributor

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.10.1:jar (attach-javadocs) on project jakarta.servlet.jsp: MavenReportException: Error while creating archive: 
[ERROR] Exit code: 1 - javadoc: error - The code being documented uses modules but the packages defined in http://docs.oracle.com/javase/8/docs/api/ are in the unnamed module.
[ERROR] /Users/arjan/eclipse2019-06/workspace/jsp-api/impl/src/main/java/org/apache/jasper/runtime/TldScanner.java:61: error: unknown tag: taglib
[ERROR]  *   1. Via <taglib> elements in web.xml:
[ERROR]             ^
[ERROR] /Users/arjan/eclipse2019-06/workspace/jsp-api/impl/src/main/java/org/apache/jasper/runtime/TldScanner.java:63: error: unknown tag: taglib
[ERROR]  *      the <taglib> element.
[ERROR]             ^
[ERROR] /Users/arjan/eclipse2019-06/workspace/jsp-api/impl/src/main/java/org/apache/jasper/runtime/TldScanner.java:66: error: unknown tag: uri
[ERROR]  *      of it. The taglib is 'global' if it has the <uri>
etc etc etc

@arjantijms
Copy link
Contributor

I'll also update the plug-ins to their latest versions, as older plug-ins tend to have more issues with the newer JDKs

@joakime
Copy link
Contributor

joakime commented Apr 10, 2020

@joakime I'm already looking at it, it's just Javadoc

I defer to you.
Yep, the javadoc rules are much more strict on Java 9+
Had about 80% of the codebase to update javadoc on Eclipse Jetty a few years ago when Java 9 first hit.

[ERROR] /Users/arjan/eclipse2019-06/workspace/jsp-api/impl/src/main/java/org/apache/jasper/runtime/TldScanner.java:61: error: unknown tag: taglib
[ERROR]  *   1. Via <taglib> elements in web.xml:

Just use ...

{@code <taglib>}

That should address those tags nicely.

@arjantijms
Copy link
Contributor

@joakime thanks! In the meanwhile if you could take a look at this PR that would be great:

#154

(there's on more coming for the update versions and then one for the javadoc fixes, and if nobody minds code formatting to standard Jakarta rules)

@arjantijms
Copy link
Contributor

@smillidge

Thanks it needs someone on the project now to poke Jenkins to get a release

Jenkins poked: https://repo1.maven.org/maven2/org/glassfish/web/jakarta.servlet.jsp/3.0.0-RC1 ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants