Skip to content

Commit 21b56de

Browse files
committed
Build: remove timestamp from javadoc pages
By default, the javadoc task inserts the current time into a comment in the javadoc pages, which is at odds with reproducible builds. This commit - sets the `-notimestamp` option to remove that timestamp - removes the `-html5` option which has no function in current javadoc versions. The output is always in html5. - adds an MPLv2 notification to the bottom of every page - changes the arg types from `line` to `value`. `line` implies shell-like parsing that splits arguments on spaces, but that is not how they are being used here. Signed-off-by: Tony Germano <tony@germano.name>
1 parent e6868ea commit 21b56de

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

server/build.xml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1203,9 +1203,12 @@
12031203

12041204
<javadoc sourcepath="${src}:${jdk_src_path}" destdir="${docs.javadocs.userapi}" packagenames="com.mirth.connect.server.userutil,com.mirth.connect.userutil,com.mirth.connect.plugins.httpauth.userutil" link="https://docs.oracle.com/en/java/javase/17/docs/api/">
12051205
<classpath refid="classpath" />
1206-
<arg line="-html5"/>
1207-
<arg line="--add-modules=java.sql.rowset"/>
1208-
<arg line="--add-exports=java.sql.rowset/com.sun.rowset=ALL-UNNAMED"/>
1206+
<bottom>
1207+
<![CDATA[Licensed under the <a href="https://www.mozilla.org/MPL/2.0/">Mozilla Public License 2.0</a>.]]>
1208+
</bottom>
1209+
<arg value="-notimestamp"/>
1210+
<arg value="--add-modules=java.sql.rowset"/>
1211+
<arg value="--add-exports=java.sql.rowset/com.sun.rowset=ALL-UNNAMED"/>
12091212
</javadoc>
12101213
</target>
12111214

0 commit comments

Comments
 (0)