Skip to content

Commit

Permalink
update javadoc task of apache-commons plugins
Browse files Browse the repository at this point in the history
delete excluded file, as they cannot be excluded from javadoc, and errors are fatal since Java 9, see https://bugs.openjdk.java.net/browse/JDK-8176535

git-svn-id: https://josm.openstreetmap.de/osmsvn/applications/editors/josm/plugins@35340 b9d5c4c9-76e1-0310-9c85-f3177eceb1e4
  • Loading branch information
don-vip committed Feb 28, 2020
1 parent 3bd923c commit 83dde25
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions apache-commons/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,8 @@
</javac>
</target>

<target name="pre-javadoc">
<delete><fileset dir="src" includes="**/org/apache/commons/collections4/bloomfilter/hasher/function/Murmur*.java"/></delete>
</target>

</project>
5 changes: 4 additions & 1 deletion build-common.xml
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,10 @@
</and>
</condition>
</target>
<target name="javadoc" unless="skip-javadoc">
<target name="pre-javadoc">
<!-- to be overidden by plugins that need to perform additional tasks before generating javadoc -->
</target>
<target name="javadoc" depends="pre-javadoc" unless="skip-javadoc">
<javadoc destdir="${plugin.doc.dir}"
executable="${javadoc.executable}"
encoding="UTF-8"
Expand Down

0 comments on commit 83dde25

Please sign in to comment.