hadoop-zookeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maha...@apache.org
Subject svn commit: r758945 - in /hadoop/zookeeper/trunk: CHANGES.txt build.xml
Date Fri, 27 Mar 2009 00:38:22 GMT
Author: mahadev
Date: Fri Mar 27 00:38:21 2009
New Revision: 758945

URL: http://svn.apache.org/viewvc?rev=758945&view=rev
Log:
ZOOKEEPER-350. to run rats for releaseaudit. (giridharan kesavan via mahadev)

Modified:
    hadoop/zookeeper/trunk/CHANGES.txt
    hadoop/zookeeper/trunk/build.xml

Modified: hadoop/zookeeper/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/zookeeper/trunk/CHANGES.txt?rev=758945&r1=758944&r2=758945&view=diff
==============================================================================
--- hadoop/zookeeper/trunk/CHANGES.txt (original)
+++ hadoop/zookeeper/trunk/CHANGES.txt Fri Mar 27 00:38:21 2009
@@ -46,6 +46,9 @@
 
   ZOOKEEPER-351. to run checkstyle (giridharan kesavan via mahadev)
 
+  ZOOKEEPER-350. to run rats for releaseaudit. (giridharan kesavan via
+mahadev)
+
 NEW FEATURES:
 
 

Modified: hadoop/zookeeper/trunk/build.xml
URL: http://svn.apache.org/viewvc/hadoop/zookeeper/trunk/build.xml?rev=758945&r1=758944&r2=758945&view=diff
==============================================================================
--- hadoop/zookeeper/trunk/build.xml (original)
+++ hadoop/zookeeper/trunk/build.xml Fri Mar 27 00:38:21 2009
@@ -103,6 +103,10 @@
     <property name="test.cobertura.output.format" value="html" />
     <property name="coveragereport.dir" value="${build.dir}/cobertura" />
 
+    <!-- rats properties -->
+    <property name="rats_url" value="http://arat.googlecode.com/files/rat-lib-all-0.5.1.jar"
/>
+    <property name="rat.reporting.classname" value="rat.Report"/>
+
     <!-- ====================================================== -->
     <!-- Macro definitions                                      -->
     <!-- ====================================================== -->
@@ -494,6 +498,7 @@
       <delete dir="${docs.src}/build"/>
       <delete dir="${src_generated.dir}" />
       <delete dir="${csrc_generated.dir}" />
+      <delete file="${lib.dir}/rats.jar" />
       <delete file="${jar.name}" />
       <delete dir="${distribution}"/>
       <delete dir="${revision.dir}"/>
@@ -745,4 +750,18 @@
  	</path>
     </target>	
 
+    <!-- ================================================================== -->
+    <!-- Perform audit activities for the release                           -->
+    <!-- ================================================================== -->
+    
+    <target name="get-rats" depends="package" description="Downloads the release audit
tool">
+    	<get src="${rats_url}" dest="${lib.dir}/rats.jar" usetimestamp="false" />
+    </target>
+   
+    <target name="releaseaudit" depends="get-rats" description="Release Audit activities">
+    	<java classname="${rat.reporting.classname}" fork="true" classpath="${lib.dir}/rats.jar">
+      		<arg value="${build.dir}/${final.name}"/>
+    	</java>
+    </target>
+
 </project>



Mime
View raw message