From d28974c284b98cbd5c52c847451cee279ac9821f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Mat=C3=A8rne?= Date: Fri, 27 May 2016 14:41:39 +0200 Subject: [PATCH] check.xml - update RAT - run checkstyle only if Antlr is not on classpath due problems --- check.xml | 57 +++++++++++++++++++++++++------------------------------ 1 file changed, 26 insertions(+), 31 deletions(-) diff --git a/check.xml b/check.xml index 915232f8f..a6f6bc7b5 100644 --- a/check.xml +++ b/check.xml @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. --> - + Check Ants codebase against certain code styleguide rules using @@ -73,7 +73,7 @@ value="${rat.report.dir}/report.html" description="RAT-Report file"/> @@ -92,30 +92,30 @@ - Checkstyle deactavated because of Java8 use - + + + Found antlr on the classpath. + Having a wrong antlr version on the same classpath as Checkstyle may produce errors like + 'Can't find/access AST Node typecom.puppycrawl.tools.checkstyle.api.DetailAST' + Skip running Checkstyle. + + + + + + + + + + + + + + - - generates a html checkstyle report" unless="antlr.present"> @@ -126,15 +126,12 @@ - --> - - generates a text checkstyle report" unless="antlr.present"> - --> @@ -142,13 +139,11 @@ ${report} - - generates a xdoc checkstyle report" unless="antlr.present"> - -->