You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@manifoldcf.apache.org by gs...@apache.org on 2010/12/03 14:28:15 UTC
svn commit: r1041803 - /incubator/lcf/trunk/build.xml
Author: gsingers
Date: Fri Dec 3 13:28:15 2010
New Revision: 1041803
URL: http://svn.apache.org/viewvc?rev=1041803&view=rev
Log:
add rat
Modified:
incubator/lcf/trunk/build.xml
Modified: incubator/lcf/trunk/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/build.xml?rev=1041803&r1=1041802&r2=1041803&view=diff
==============================================================================
--- incubator/lcf/trunk/build.xml (original)
+++ incubator/lcf/trunk/build.xml Fri Dec 3 13:28:15 2010
@@ -1408,5 +1408,22 @@ all - Do it all (requires Apache For
All targets requiring Apache Forrest also require Sun JDK 1.5.
</echo>
</target>
+
+<target name="-taskdef">
+ <typedef resource="org/apache/rat/anttasks/antlib.xml" uri="antlib:rat.anttasks">
+ <classpath>
+ <fileset dir="." includes="rat*.jar"/>
+ </classpath>
+ </typedef>
+ </target>
+ <target name="rat-sources" depends="-taskdef"
+ description="runs the tasks over src/java excluding the license directory">
+ <rat:report xmlns:rat="antlib:org.apache.rat.anttasks">
+ <fileset dir="connectors/"/>
+ <fileset dir="framework/"/>
+ <fileset dir="site/src/"/>
+ </rat:report>
+ </target>
+
</project>