incubator-connectors-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gsing...@apache.org
Subject svn commit: r1041803 - /incubator/lcf/trunk/build.xml
Date Fri, 03 Dec 2010 13:28:15 GMT
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>



Mime
View raw message