forked from I2P_Developers/i2p.i2p
Build: Compile jsps in-order for reproducibility (ticket #2279)
This commit is contained in:
@ -401,16 +401,23 @@
|
||||
**
|
||||
** 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.
|
||||
** May be fixed in a future release, maybe not, but we don't know what version distros may have.
|
||||
** Will be fixed in 8.5.35, but we don't know what version distros may have.
|
||||
**
|
||||
** 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.
|
||||
-->
|
||||
<java classname="net.i2p.servlet.util.JspC" fork="true" failonerror="true">
|
||||
<!-- this prevents tomcat from complaining in debian builds -->
|
||||
<jvmarg value="-Dtomcat.util.scan.StandardJarScanFilter.jarsToSkip=commons-collections.jar,junit.jar,junit4.jar" />
|
||||
<!-- these are to detect tomcat version and reproducible build setting -->
|
||||
<jvmarg value="-Dbuild.reproducible=${build.reproducible}" />
|
||||
<jvmarg value="-Dwith-libtomcat8-java=${with-libtomcat8-java}" />
|
||||
<jvmarg value="-Djasper.jar=../../jetty/jettylib/jasper-runtime.jar" />
|
||||
<classpath>
|
||||
<pathelement location="../../jetty/jettylib/jasper-runtime.jar" />
|
||||
<pathelement location="../../jetty/jettylib/javax.servlet.jar" />
|
||||
|
Reference in New Issue
Block a user