You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ni...@apache.org on 2010/05/24 16:16:15 UTC
svn commit: r947648 - /poi/trunk/build.xml
Author: nick
Date: Mon May 24 14:16:15 2010
New Revision: 947648
URL: http://svn.apache.org/viewvc?rev=947648&view=rev
Log:
Add a "rat-check" optional target, which runs Apache Rat against the source tree to spot files lacking license headers
Modified:
poi/trunk/build.xml
Modified: poi/trunk/build.xml
URL: http://svn.apache.org/viewvc/poi/trunk/build.xml?rev=947648&r1=947647&r2=947648&view=diff
==============================================================================
--- poi/trunk/build.xml (original)
+++ poi/trunk/build.xml Mon May 24 14:16:15 2010
@@ -1075,5 +1075,22 @@ under the License.
<m2-install artifactId="poi-ooxml-schemas"/>
</target>
+ <!-- Runs Apache Rat against the source code, to spot any files -->
+ <!-- which are missing the correct license headers -->
+ <!-- You need to download rat from http://incubator.apache.org/rat/ -->
+ <!-- and place the Rat jar into your ant lib before running -->
+ <target name="rat-check">
+ <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="src/">
+ <exclude name="documentation/content/xdocs/dtd/" />
+ <exclude name="documentation/content/xdocs/entity/" />
+ <exclude name="scratchpad/testcases/dummy.txt" />
+ <exclude name="contrib/testcases/dummy.txt" />
+ <exclude name="examples/lib/dummy.txt" />
+ </fileset>
+ </rat:report>
+ </target>
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org