summaryrefslogtreecommitdiff
path: root/check.xml
diff options
context:
space:
mode:
authorJan Matèrne <jhm@apache.org>2016-05-27 11:14:19 +0200
committerJan Matèrne <jhm@apache.org>2016-05-27 11:14:19 +0200
commit381c47c2629558c663b0bdd94657d76f63216347 (patch)
tree97fe1507546539b3dc3580152756ad71a7a43b7b /check.xml
parent4c903be177c3c034a429cabc414f48220703565f (diff)
downloadant-381c47c2629558c663b0bdd94657d76f63216347.tar.gz
interim deactivation of build tools for Nightly Build
Diffstat (limited to 'check.xml')
-rw-r--r--check.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/check.xml b/check.xml
index 550952238..915232f8f 100644
--- a/check.xml
+++ b/check.xml
@@ -92,6 +92,12 @@
</target>
<target name="checkstyle" description="--> checks Ant codebase according to ${config.dir}/checkstyle-config" depends="init-ivy">
+ <echo>Checkstyle deactavated because of Java8 use</echo>
+ <!--TODO: test CS in conjuntion with Java8. Current problem is that CS doesnt work with Java8 features like method references
+ src/main/org/apache/tools/ant/taskdefs/SetPermissions.java:89:28: expecting RPAREN, found ':'
+ .map(String::trim)
+ ^^
+
<ivy:cachepath organisation="com.puppycrawl.tools" module="checkstyle" revision="5.7"
inline="true" conf="default" pathid="checkstyle.classpath" transitive="true"/>
<taskdef resource="checkstyletask.properties" classpathref="checkstyle.classpath" />
@@ -104,9 +110,12 @@
<exclude name="**/CVSPass.java"/>
</fileset>
</checkstyle>
+
+ -->
</target>
<target name="htmlreport" description="--> generates a html checkstyle report">
+ <!-- deactivated due CS-deactivation
<xslt in="${checkstyle.raw}" style="${stylesheet.html}"
out="${checkstyle.reportdir}/html/output.txt">
<param name="basedir" expression="${checkstyle.basedir}"/>
@@ -117,12 +126,15 @@
<param name="basedir" expression="${checkstyle.basedir}"/>
<param name="output.dir" expression="${checkstyle.reportdir}"/>
</xslt>
+ -->
</target>
<target name="textreport" description="--> generates a text checkstyle report">
+ <!-- deactivated due CS-deactivation
<xslt in="${checkstyle.raw}" style="${stylesheet.text}"
out="${checkstyle.reportdir}/report.txt">
</xslt>
+ -->
</target>
<target name="textreport-display" depends="textreport" description="--> generates a text checkstyle report and displays it immediately">
@@ -131,10 +143,12 @@
</target>
<target name="xdocreport" description="--> generates a xdoc checkstyle report">
+ <!-- deactivated due CS-deactivation
<xslt in="${checkstyle.raw}" style="${stylesheet.xdoc}"
out="${checkstyle.reportdir}/xdocs/index.xml">
<param name="basedir" expression="${checkstyle.basedir}"/>
</xslt>
+ -->
</target>
<target name="dumphtml" depends="checkstyle, htmlreport" description="--> runs the checkstyle and generates a html report"/>