Build: Compile jsps in-order for reproducibility (ticket #2279)

This commit is contained in:
zzz
2018-09-24 15:52:42 +00:00
parent e59d7a821b
commit 34f0d7d7b3
6 changed files with 143 additions and 3 deletions

View File

@@ -72,6 +72,10 @@
<echo message="Ignore any warning about /WEB-INF/web.xml not found" />
<!-- See apps/routerconsole/java/build.xml for important JspC build documentation -->
<java classname="net.i2p.servlet.util.JspC" fork="true" classpathref="cp" failonerror="true">
<!-- 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=${lib}/jasper-runtime.jar" />
<arg value="-d" />
<arg value="${tmp}" />
<arg value="-v" />