harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r1029194 - in /harmony/enhanced/java/trunk: build.xml common_resources/make/properties.xml
Date Sat, 30 Oct 2010 20:58:04 GMT
Author: hindessm
Date: Sat Oct 30 20:58:03 2010
New Revision: 1029194

URL: http://svn.apache.org/viewvc?rev=1029194&view=rev
Log:
Add top-level findbugs target.

Modified:
    harmony/enhanced/java/trunk/build.xml
    harmony/enhanced/java/trunk/common_resources/make/properties.xml

Modified: harmony/enhanced/java/trunk/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/trunk/build.xml?rev=1029194&r1=1029193&r2=1029194&view=diff
==============================================================================
--- harmony/enhanced/java/trunk/build.xml (original)
+++ harmony/enhanced/java/trunk/build.xml Sat Oct 30 20:58:03 2010
@@ -865,6 +865,23 @@ harmony.java.version=${harmony.java.vers
         <delete dir="${hy.target}/test_report" />
     </target>
 
+    <target name="findbugs" depends="clean-findbugs"
+            description="Runs find bugs report">
+        <ant antfile="classlib/build.xml" target="findbugs" inheritAll="false" >
+            <propertyset refid="required.props" />
+            <property name="svn.info" value="${harmony.long.version}"/>
+            <property name="svn.revision" value="${harmony.version}"/>
+            <property name="hy.target" location="${hy.target}"/>
+            <property name="common.resources" location="common_resources" />
+            <property name="findBugs.report"
+                      location="${hy.target}/findbugs_report" />
+        </ant>
+    </target>
+
+    <target name="clean-findbugs">
+        <delete dir="${hy.target}/findbugs_report" />
+    </target>
+
     <!-- ============================================================== -->
     <!-- produces a nice looking checksum                               -->
     <!-- ============================================================== -->

Modified: harmony/enhanced/java/trunk/common_resources/make/properties.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/trunk/common_resources/make/properties.xml?rev=1029194&r1=1029193&r2=1029194&view=diff
==============================================================================
--- harmony/enhanced/java/trunk/common_resources/make/properties.xml (original)
+++ harmony/enhanced/java/trunk/common_resources/make/properties.xml Sat Oct 30 20:58:03 2010
@@ -863,7 +863,8 @@ Alternatively, you can switch to another
        <attribute name="jarFile"/>
        <sequential>
            <!-- Find and define findbugs task -->
-           <property name="findbugs.home" location="${basedir}/../../depends/oss/findbugs-1.3.9"/>
+           <property name="findbugs.home"
+                     location="${hy.depends}/oss/findbugs-1.3.9"/>
            <available
                classname="edu.umd.cs.findbugs.anttask.FindBugsTask"
                classpath="${findbugs.home}/lib/findbugs-ant.jar"



Mime
View raw message