提交 bcf0caab 编写于 作者: H Heikki Linnakangas

Remove checkstyle support.

I tried running this, and got a ton of errors. I don't think anyone's
used this for ages, so let's stop pretending that you might want to run
it. It might be a useful tool, as might some other style-checker or static
analysis tool, but this doesn't seem useful in its current state.
上级 76e40ccd
......@@ -115,40 +115,6 @@
<ivy:cachepath pathid="ivy-classpath" conf="${gpgnet.configuration}"/>
</target>
<target name="ivy-retrieve-checkstyle"
description="Retrieve Ivy-managed artifacts for the checkstyle configurations">
<ivy:retrieve pattern="${build.ivy.lib.dir}/${ivy.artifact.retrieve.pattern}"/>
<ivy:cachepath pathid="checkstyle-classpath" conf="checkstyle"/>
</target>
<!-- ================================================================== -->
<!-- Run optional third-party tool targets -->
<!-- ================================================================== -->
<target name="checkstyle" depends="ivy-retrieve-checkstyle,check-for-checkstyle" if="checkstyle.present" description="Run optional third-party tool targets">
<taskdef resource="checkstyletask.properties">
<classpath refid="checkstyle-classpath"/>
</taskdef>
<mkdir dir="${test.build.dir}"/>
<checkstyle config="${test.src.dir}/sun_checks.xml"
failOnViolation="false">
<fileset dir="${src.dir}" includes="*.java"/>
<formatter type="xml" toFile="${test.build.dir}/checkstyle-errors.xml"/>
</checkstyle>
<xslt style="${test.src.dir}/checkstyle-noframes-sorted.xsl"
in="${test.build.dir}/checkstyle-errors.xml"
out="${test.build.dir}/checkstyle-errors.html"/>
</target>
<target name="check-for-checkstyle">
<available property="checkstyle.present" resource="checkstyletask.properties">
<classpath refid="checkstyle-classpath"/>
</available>
</target>
<target name="javadoc" depends="ivy-retrieve-hadoop" description="Create Javadocs">
<delete dir="${javadoc.dir}" />
<mkdir dir="${javadoc.dir}"/>
......
......@@ -15,13 +15,10 @@
<conf name="runtime" description="runtime but not the artifact"/>
<conf name="hadoop2" description="hadoop2.0 build configuration"/>
<conf name="ut" description="ut for hadoop 2.0+"/>
<!-- Private configurations -->
<conf name="checkstyle" visibility="private"/>
</configurations>
<dependencies>
<dependency org="${org}" name="${name}" rev="${revision}" conf="compile->master"/>
<dependency org="checkstyle" name="checkstyle" rev="${checkstyle.version}" conf="checkstyle->default"/>
<dependency org="apache" name="hadoop-annotations" rev="${hadoop-common.revision}" conf="hadoop2->master"/>
<dependency org="apache" name="hadoop-core" rev="${revision}" conf="hadoop2->master"/>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册