Author: crossley Date: Tue Nov 3 05:37:54 2009 New Revision: 832303 URL: http://svn.apache.org/viewvc?rev=832303&view=rev Log: Add target "gump-rat" used by Gump to run RAT on Forrest sources, via its target "forrest-rat" defined in our Gump project descriptor.
Modified: forrest/trunk/main/build.xml Modified: forrest/trunk/main/build.xml URL: http://svn.apache.org/viewvc/forrest/trunk/main/build.xml?rev=832303&r1=832302&r2=832303&view=diff ============================================================================== --- forrest/trunk/main/build.xml (original) +++ forrest/trunk/main/build.xml Tue Nov 3 05:37:54 2009 @@ -424,6 +424,17 @@ <target name="gump" description="Target used by Gump: forrest"> <antcall target="jar"/> </target> +<!-- Target used by Gump to run RAT on Forrest sources --> + <target name="gump-rat" depends="init" + description="Target used by Gump: forrest-rat"> + <typedef resource="org/apache/rat/anttasks/antlib.xml" + uri="antlib:org.apache.rat.anttasks"/> + <rat:report xmlns:rat="antlib:org.apache.rat.anttasks"> + <fileset dir="${forrest.home}"> + <excludesfile name="${forrest.home}/etc/rat-avoid.txt"/> + </fileset> + </rat:report> + </target> <!-- =================================================================== --> <!-- Compile Cocoon java classes --> <!-- =================================================================== -->