Package net.i2p.servlet.util
Class JspC
java.lang.Object
net.i2p.servlet.util.JspC
public class JspC extends Object
Simply call org.apache.jasper.JspC, then exit.
As of Tomcat 8.5.33, forking their JspC won't complete,
because the JspC compilation is now threaded and the thread pool workers aren't daemons.
Will fixed in a 8.5.35, but we don't know what version distros may have.
Additionally, if the system property build.reproducible is "true",
attempts to generate a reproducible build by compiling the
jsps in order, for a consistent web.xml file.
https://tomcat.apache.org/tomcat-8.5-doc/changelog.html
https://bz.apache.org/bugzilla/show_bug.cgi?id=53492
http://trac.i2p2.i2p/ticket/2307
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=908884
https://bz.apache.org/bugzilla/show_bug.cgi?id=62674
We could set fork=false in build.xml, but then the paths are all wrong.
Only for use in build scripts, obviously not a public API.
See apps/routerconsole/java/build.xml for more information.
- Since:
- 0.9.37
-
Constructor Summary
Constructors Constructor Description JspC()
-
Method Summary
-
Constructor Details
-
JspC
public JspC()
-
-
Method Details
-
main
- Throws:
IllegalArgumentException
-