-
Notifications
You must be signed in to change notification settings - Fork 41
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
Draft PR for Jakarta ee10 jdk17 #19
base: master
Are you sure you want to change the base?
Conversation
velocity-tools-examples/velocity-tools-examples-showcase/src/main/webapp/WEB-INF/web.xml
Show resolved
Hide resolved
// Really, who cares? | ||
throw new UnsupportedOperationException("This class works only with JSP 2.1"); | ||
} | ||
|
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.
Can you figure out frim with JSP API version this is not required anymore?
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.
I'll try
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.
Since 4.0.0, 3.1.1 still has it. See also https://projects.eclipse.org/projects/ee4j.jsp/releases/4.0.0
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.
Good, thanks. @arkanovicz I wonder whether we should raise to Servlet 4.0 before that.
velocity-tools-view/src/main/java/org/apache/velocity/tools/view/ServletUtils.java
Outdated
Show resolved
Hide resolved
velocity-tools-view/src/main/java/org/apache/velocity/tools/view/ServletUtils.java
Outdated
Show resolved
Hide resolved
velocity-tools-view/src/main/java/org/apache/velocity/tools/view/ServletUtils.java
Show resolved
Hide resolved
velocity-tools-view/src/test/java/org/apache/velocity/tools/view/VelocityViewTest.java
Outdated
Show resolved
Hide resolved
constants
@@ -20,7 +20,7 @@ | |||
import java.io.IOException; | |||
import java.io.Writer; | |||
|
|||
import javax.servlet.jsp.JspWriter; | |||
import jakarta.servlet.jsp.JspWriter; |
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.
Given the comments at class level, I wonder whether we still need this file...
// Really, who cares? | ||
throw new UnsupportedOperationException("This class works only with JSP 2.1"); | ||
} | ||
|
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.
Good, thanks. @arkanovicz I wonder whether we should raise to Servlet 4.0 before that.
@arkanovicz I see at least two classes which have been copied from Tomcat. I wonder whether they are still required these days... |
I don't really maintain the jsp module. I released it unchanged last time, but if nobody can help maintain it, we can deprecate it. |
That would mean that the JSP tags are dead, aren't they? |
I released it as is last time because I've been told that jsp hadn't change, so there was no real reason for the module not to be functional. But I never used jsp, never will, and I do not feel very concerned by its fate. Maybe ask the mailing list? |
Yes, let's do so. |
@eduarddrenth First of all, thank you for the good cooperation. I already see a few points I can cherry-pick and improve the current code on main, but first I need to take care of velocity master as a prep. Please stay tuned. |
Thanks also, I enjoyed to play a small part in making velocity available to application servers for jakarta EE 10. I'll keep an eye open. |
Why did you close? This is viable code. |
I thought you did not need it anymore. Is the process?
|
You misunderstood. I need to keep it open for visibile and future changes. |
Factored out a bit #21 |
At some point in the near future I need to decide how to include velocity deps in my jakarta apps. Either I wait for a jakarta release from the apache team, or I decide to keep my fork up-to-date and release to maven central myself. I prefer the first, but when will this release be? |
I have expressed my opinion in this regard in the other PR already: #15 (comment) |
For discussion on the diff, see https://issues.apache.org/jira/browse/VELTOOLS-202