You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@river.apache.org by th...@apache.org on 2011/05/27 12:19:47 UTC

svn commit: r1128239 - /river/jtsk/trunk/rat_reports.sh

Author: thobbs
Date: Fri May 27 10:19:47 2011
New Revision: 1128239

URL: http://svn.apache.org/viewvc?rev=1128239&view=rev
Log:
Added convenience script for generating rat reports

Added:
    river/jtsk/trunk/rat_reports.sh   (with props)

Added: river/jtsk/trunk/rat_reports.sh
URL: http://svn.apache.org/viewvc/river/jtsk/trunk/rat_reports.sh?rev=1128239&view=auto
==============================================================================
--- river/jtsk/trunk/rat_reports.sh (added)
+++ river/jtsk/trunk/rat_reports.sh Fri May 27 10:19:47 2011
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+if [ "${RAT_HOME+x}" = "x" ]; then
+	echo "Using RAT_HOME=${RAT_HOME}"
+else
+	echo "Please set RAT_HOME before continuing"
+	exit 1
+fi
+
+java -jar $RAT_HOME/apache-rat-0.7.jar -d src > RAT_REPORT_src.txt
+java -jar $RAT_HOME/apache-rat-0.7.jar -d examples -e *.mf > RAT_REPORT_examples.txt
+java -jar $RAT_HOME/apache-rat-0.7.jar -d qa/jtreg -e *.mf > RAT_REPORT_qa_jtreg.txt

Propchange: river/jtsk/trunk/rat_reports.sh
------------------------------------------------------------------------------
    svn:executable = *