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 2010/07/09 07:44:01 UTC

svn commit: r962417 - /ant/ivy/core/trunk/build.xml

Author: jhm
Date: Fri Jul  9 05:43:51 2010
New Revision: 962417

URL: http://svn.apache.org/viewvc?rev=962417&view=rev
Log:
Merge rat-report targets from build.xml and build-release.xml: Hudson must not fail on failing RAT report, because it would skip the publishing of that report.

Modified:
    ant/ivy/core/trunk/build.xml

Modified: ant/ivy/core/trunk/build.xml
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/build.xml?rev=962417&r1=962416&r2=962417&view=diff
==============================================================================
--- ant/ivy/core/trunk/build.xml (original)
+++ ant/ivy/core/trunk/build.xml Fri Jul  9 05:43:51 2010
@@ -579,32 +579,6 @@
             <param name="basedir" expression="${checkstyle.basedir}" />
         </xslt>
     </target>
-    
-    <target name="rat" description="runs the ReleaseAuditingTool"  depends="init-ivy">
-        <property name="rat.report.dir"
-                  value="${reports.dir}/rat"
-                  description="Where to store the RAT reports"/>
-        <property name="rat.report.file"
-                  value="${rat.report.dir}/report.html"
-                  description="RAT-Report file"/>
-        <property name="rat.version"
-                  value="0.6"
-                  description="Which Version of RAT to use"/>
-        <ivy:cachepath organisation="org.apache.rat" module="apache-rat-tasks" revision="${rat.version}"
-                       inline="true" conf="default" pathid="rat.classpath" transitive="true"/>
-        <typedef resource="org/apache/rat/anttasks/antlib.xml"
-                 uri="antlib:org.apache.rat.anttasks"
-                 classpathref="rat.classpath"/>
-        <mkdir dir="${rat.report.dir}"/>
-        <rat:report xmlns:rat="antlib:org.apache.rat.anttasks" reportfile="${rat.report.dir}/report.txt">
-            <fileset dir="${src.dir}">
-                <include name="**/*.java" />
-            </fileset>
-            <fileset dir="${example.dir}">
-                <include name="**/*.java" />
-            </fileset>
-        </rat:report>
-    </target>
 
     <target name="init-findbugs" unless="findbugs.home">
         <!-- Findbugs: Getting Findbugs -->