FAQ
Repository: ant
Updated Branches:
   refs/heads/master 4c903be17 -> 381c47c26


interim deactivation of build tools for Nightly Build


Project: http://git-wip-us.apache.org/repos/asf/ant/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant/commit/381c47c2
Tree: http://git-wip-us.apache.org/repos/asf/ant/tree/381c47c2
Diff: http://git-wip-us.apache.org/repos/asf/ant/diff/381c47c2

Branch: refs/heads/master
Commit: 381c47c2629558c663b0bdd94657d76f63216347
Parents: 4c903be
Author: Jan Matèrne <jhm@apache.org>
Authored: Fri May 27 11:14:19 2016 +0200
Committer: Jan Matèrne <jhm@apache.org>
Committed: Fri May 27 11:14:19 2016 +0200

----------------------------------------------------------------------
  check.xml | 14 ++++++++++++++
  1 file changed, 14 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ant/blob/381c47c2/check.xml
----------------------------------------------------------------------
diff --git a/check.xml b/check.xml
index 5509522..915232f 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"/>

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupnotifications @
categoriesant
postedMay 27, '16 at 9:14a
activeMay 27, '16 at 9:14a
posts1
users1
websiteant.apache.org

1 user in discussion

Jhm: 1 post

People

Translate

site design / logo © 2018 Grokbase