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
org.apache.jasper.compiler.disablejsr199 is no longer present in Jetty 9.3+ #706
Comments
@janbartel can you explain to @WalkerWatch how the switch between ECJ vs JDK is now done? |
Since switching to use Jasper from Apache (instead of Glassfish) in jetty-9.2 and above, compilation is only supported with ECJ - Apache Jasper has never supported the jdk compiler as did Glassfish. Thus, we supply the necessary eclipse java compiler jars with the jetty distro. The only other compilation alternatives that Apache Jasper supports are 1. Ant or 2. a custom compiler. For compilation with Ant, you need to:
To use a custom compiler:
|
@janbartel we should remove all of the references to this org.apache.jasper.compiler.disablejsr199 attribute in the jetty-9.3.x branch then. |
@janbartel the documentation at |
@joakime @janbartel I removed references to disablejsr199 in the documentation as part of #712. I was hoping to follow up to see if additional changes need made. |
@WalkerWatch its still present in the documentation.
|
@joakime I didn't want to remove that property from the FragmentActivator class just in case people were deploying jetty using the glassfish jsp bundles. But if its gone, its gone and we should update the osgi documentation to mention that only the apache jsp bundles are supported. |
@joakime I commented it out pending any other changes. I will remove it wholly. |
Chapter 9 cleanup and removed doc reference to disablejsr for #706.
The documentation has several mentions of it, along with the
jvm.mod
We should remove these references in the code, test cases, and documentation.
The existing documentation should be updated to document how to use ECJ vs Java SDK for JSP compilation.
The text was updated successfully, but these errors were encountered: