Add top-level findbugs target.
git-svn-id: https://svn.apache.org/repos/asf/harmony/enhanced/java/trunk@1029194 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/build.xml b/build.xml
index ac8c5d0..0cbe9d2 100644
--- a/build.xml
+++ b/build.xml
@@ -865,6 +865,23 @@
<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 -->
<!-- ============================================================== -->
diff --git a/common_resources/make/properties.xml b/common_resources/make/properties.xml
index d9366c1..d03428f 100644
--- a/common_resources/make/properties.xml
+++ b/common_resources/make/properties.xml
@@ -863,7 +863,8 @@
<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"