You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by jh...@apache.org on 2019/03/12 09:12:49 UTC

[ant] branch master updated (1c97966 -> 1e00d44)

This is an automated email from the ASF dual-hosted git repository.

jhm pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/ant.git.


    from 1c97966  htmlcheck: generate report file, consistent property names, meaningful target name
     new e2b40e5  htmlcheck: correct tool name, consistent report placement
     new 978e8b4  missing dots
     new 1e00d44  extract 'report.dir'

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 check.xml | 37 +++++++++++++++++++++----------------
 1 file changed, 21 insertions(+), 16 deletions(-)


[ant] 01/03: htmlcheck: correct tool name, consistent report placement

Posted by jh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jhm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ant.git

commit e2b40e5dd384af9f6844b1c67590d86b0381f26b
Author: twogee <g....@gmail.com>
AuthorDate: Sun Mar 10 07:05:29 2019 +0100

    htmlcheck: correct tool name, consistent report placement
---
 check.xml | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

diff --git a/check.xml b/check.xml
index c0bcd9d..4c14c21 100644
--- a/check.xml
+++ b/check.xml
@@ -19,7 +19,8 @@
 
   <description>
     Check Ant codebase against certain code style guidelines using
-    Checkstyle, Apache Rat, SpotBugs, OWASP Dependency Check and Simian.
+    Checkstyle, Apache Rat, SpotBugs, OWASP Dependency Check, Simian
+    and Nu Html Checker (v.Nu).
 
     Checkstyle uses an abstract syntax tree (AST) for doing checks
     against Java sources. It is available at http://checkstyle.sourceforge.net/
@@ -41,8 +42,9 @@
     plain text files."  It is available at https://www.harukizaemon.com/simian/
     and is for free use in open source projects.
 
-    Nu HTML Validator by Mozilla Foundation checks html files against HTML5
-    specs and recommendations.
+    "The Nu Html Checker (v.Nu) is the backend of checker.html5.org,
+    html5.validator.nu, and validator.w3.org/nu." It is available at
+    https://validator.github.io/validator/ under MIT license.
 
     See external task page and homepages for more information.
   </description>
@@ -120,7 +122,7 @@
             value="${build.dir}/simian-lib"
             description="Where to store Simian resources"/>
   <property name="simian.report.dir"
-            value="${build.dir}/simian"
+            value="${build.dir}/reports/simian"
             description="Where to store Simian reports"/>
 
   <!-- OWASP Dependency Check -->
@@ -131,12 +133,12 @@
             value="${build.dir}/reports/owasp-dc"
             description="Where to store the OWASP Dependency Check reports"/>
 
-  <!-- Nu HTML Validator -->
+  <!-- Nu Html Checker -->
   <property name="htmlcheck.nu.version"
             value="18.11.5"
-            description="Which version of Nu HTML Validator to use"/>
+            description="Which version of Nu Html Checker to use"/>
   <property name="htmlcheck.report.dir"
-            value="${build.dir}/html-check"
+            value="${build.dir}/reports/html-check"
             description="Directory where to store the HTML-Check report"/>
   <property name="htmlcheck.report.file"
             value="${htmlcheck.report.dir}/report.txt"
@@ -305,7 +307,7 @@
              uri="antlib:org.apache.rat.anttasks"
              classpathref="rat.classpath"/>
     <mkdir dir="${rat.report.dir}"/>
-    <rat:report xmlns:rat="antlib:org.apache.rat.anttasks" reportfile="${build.dir}/reports/rat/report.txt">
+    <rat:report xmlns:rat="antlib:org.apache.rat.anttasks" reportfile="${rat.report.dir}/report.txt">
       <fileset dir="${java.dir}">
         <exclude name="org/apache/tools/ant/defaultManifest.mf"/>
         <exclude name="org/apache/tools/ant/version.txt"/>
@@ -327,7 +329,7 @@
     </owasp:dependency-check>
   </target>
 
-  <target name="html-check" description="--> Runs the Nu HTML Validator" depends="init-ivy">
+  <target name="html-check" description="--> Runs the Nu Html Checker" depends="init-ivy">
     <ivy:cachepath organisation="nu.validator" module="validator" revision="${htmlcheck.nu.version}"
                    inline="true" conf="default" pathid="nu.classpath"/>
     <fileset dir="." id="html.files">


[ant] 02/03: missing dots

Posted by jh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jhm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ant.git

commit 978e8b4677a4d56f30b462cba9cb85718626d956
Author: Jan Matèrne <jh...@apache.org>
AuthorDate: Tue Mar 12 09:57:27 2019 +0100

    missing dots
---
 check.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/check.xml b/check.xml
index 4c14c21..185e023 100644
--- a/check.xml
+++ b/check.xml
@@ -27,7 +27,7 @@
     under GPL 2.1 license.
 
     "Apache Rat is a release audit tool, focused on licenses." It is available
-    at https://creadur.apache.org/rat/ under Apache License, Version 2.0
+    at https://creadur.apache.org/rat/ under Apache License, Version 2.0.
 
     "SpotBugs is a program which uses static analysis to look for bugs in Java
     code." It is available at https://spotbugs.github.io/ under LGPL 3 license.
@@ -35,7 +35,7 @@
     "Dependency-Check is a utility that identifies project dependencies and
     checks if there are any known, publicly disclosed, vulnerabilities." It is
     available at https://www.owasp.org/index.php/OWASP_Dependency_Check under
-    Apache License, Version 2.0
+    Apache License, Version 2.0.
 
     "Simian (Similarity Analyser) identifies duplication in Java, C#, C, CPP,
     COBOL, Ruby, JSP, ASP, HTML, XML, Visual Basic, Groovy source code and even


[ant] 03/03: extract 'report.dir'

Posted by jh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jhm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ant.git

commit 1e00d447d2a250a4e0581e010cf83b72a31abc7e
Author: Jan Matèrne <jh...@apache.org>
AuthorDate: Tue Mar 12 10:00:20 2019 +0100

    extract 'report.dir'
---
 check.xml | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

diff --git a/check.xml b/check.xml
index 185e023..7d1a901 100644
--- a/check.xml
+++ b/check.xml
@@ -50,15 +50,18 @@
   </description>
 
   <import file="build.xml"/>
+  <property name="reports.dir"
+            value="${build.dir}/reports"
+            description="Base directory for generated reports"/>
 
-  <property name="checkstyle.src.dir" location="${etc.dir}/checkstyle"/>
 
   <!-- Ant Checkstyle -->
+  <property name="checkstyle.src.dir" location="${etc.dir}/checkstyle"/>
   <property name="checkstyle.version"
             value="6.19"
             description="Which version of Checkstyle to use"/>
   <property name="checkstyle.reportdir"
-            location="${build.dir}/reports/checkstyle"
+            location="${reports.dir}/checkstyle"
             description="Where to store Checkstyle reports"/>
   <property name="checkstyle.raw"
             location="${checkstyle.reportdir}/raw.xml"
@@ -88,7 +91,7 @@
             value="3.1.4"
             description="Which version of SpotBugs to use"/>
   <property name="findbugs.reportdir"
-            location="${build.dir}/reports/findbugs"
+            location="${reports.dir}/findbugs"
             description="Where to store SpotBugs results"/>
   <property name="findbugs.raw"
             value="raw.xml"
@@ -105,7 +108,7 @@
             value="0.12"
             description="Which version of Apache Rat to use"/>
   <property name="rat.report.dir"
-            value="${build.dir}/reports/rat"
+            value="${reports.dir}/rat"
             description="Where to store Apache Rat reports"/>
   <property name="rat.report.file"
             value="${rat.report.dir}/report.html"
@@ -122,7 +125,7 @@
             value="${build.dir}/simian-lib"
             description="Where to store Simian resources"/>
   <property name="simian.report.dir"
-            value="${build.dir}/reports/simian"
+            value="${reports.dir}/simian"
             description="Where to store Simian reports"/>
 
   <!-- OWASP Dependency Check -->
@@ -130,7 +133,7 @@
             value="3.2.1"
             description="Which version of OWASP Dependency Check to use"/>
   <property name="owasp.dc.report.dir"
-            value="${build.dir}/reports/owasp-dc"
+            value="${reports.dir}/owasp-dc"
             description="Where to store the OWASP Dependency Check reports"/>
 
   <!-- Nu Html Checker -->
@@ -138,7 +141,7 @@
             value="18.11.5"
             description="Which version of Nu Html Checker to use"/>
   <property name="htmlcheck.report.dir"
-            value="${build.dir}/reports/html-check"
+            value="${reports.dir}/html-check"
             description="Directory where to store the HTML-Check report"/>
   <property name="htmlcheck.report.file"
             value="${htmlcheck.report.dir}/report.txt"