Repository: incubator-netbeans Updated Branches: refs/heads/master fb7d37167 -> ee90533f4
Adding ability to run Apache Rat on the sources to the build script. Project: http://git-wip-us.apache.org/repos/asf/incubator-netbeans/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-netbeans/commit/ee90533f Tree: http://git-wip-us.apache.org/repos/asf/incubator-netbeans/tree/ee90533f Diff: http://git-wip-us.apache.org/repos/asf/incubator-netbeans/diff/ee90533f Branch: refs/heads/master Commit: ee90533f497b615b3d39d73cba1291f033f16f01 Parents: fb7d371 Author: Jan Lahoda <[email protected]> Authored: Tue Sep 12 22:40:33 2017 +0200 Committer: Jan Lahoda <[email protected]> Committed: Tue Sep 12 22:40:33 2017 +0200 ---------------------------------------------------------------------- nbbuild/build.xml | 14 ++++++++++++++ nbbuild/external/binaries-list | 1 + 2 files changed, 15 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/ee90533f/nbbuild/build.xml ---------------------------------------------------------------------- diff --git a/nbbuild/build.xml b/nbbuild/build.xml index 3313457..dc95a8b 100644 --- a/nbbuild/build.xml +++ b/nbbuild/build.xml @@ -1959,4 +1959,18 @@ It is possible to use -Ddebug.port=3234 -Ddebug.pause=y to start the system in d </target> + <target name="rat"> + <taskdef uri="antlib:org.apache.rat.anttasks" resource="org/apache/rat/anttasks/antlib.xml"> + <classpath> + <pathelement location="external/apache-rat-0.12.jar"/> + </classpath> + </taskdef> + <rat:report xmlns:rat="antlib:org.apache.rat.anttasks" reportfile="build/rat-report.txt"> + <fileset dir="${nb_all}"> + <exclude name="*/build/**" /> + <exclude name="nbbuild/netbeans/**" /> + </fileset> + </rat:report> + </target> + </project> http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/ee90533f/nbbuild/external/binaries-list ---------------------------------------------------------------------- diff --git a/nbbuild/external/binaries-list b/nbbuild/external/binaries-list index 8fe25bd..c937d45 100644 --- a/nbbuild/external/binaries-list +++ b/nbbuild/external/binaries-list @@ -1,2 +1,3 @@ A7674A6D78B7FEA58AF76B357DAE6EA5E3FDFBE9 apitest.jar 88CADDFC6785B6B7B7E65C9DC80C03958EBAEE73 nbbuild-xhtml1-dtds-resources.zip +16398550402B27F81CD0D508CEF54B3E47A4A6DA org.apache.rat:apache-rat:0.12
