aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2015-03-14 11:52:59 +0000
committerDominik Stadler <centic@apache.org>2015-03-14 11:52:59 +0000
commit2e47191ba760724592ac7dd14169f4438e1e7e31 (patch)
treebbd98af157ba0e4bbe6f86d701d56d2e157e9baf
parent0227765619298a12ed382d4f3ef999c18b8b422e (diff)
downloadpoi-2e47191ba760724592ac7dd14169f4438e1e7e31.tar.gz
poi-2e47191ba760724592ac7dd14169f4438e1e7e31.zip
Also write findbugs.xml file for reading the results in ^Cnkins builds
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1666657 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--build.xml25
1 files changed, 24 insertions, 1 deletions
diff --git a/build.xml b/build.xml
index f29aa8d372..b8f7a66a48 100644
--- a/build.xml
+++ b/build.xml
@@ -1709,7 +1709,30 @@ under the License.
<sourcePath path="src/java" />
<sourcePath path="src/ooxml/java" />
<sourcePath path="src/scratchpad/src" />
- </findbugs>
+ </findbugs>
+ <findbugs home="${findbugs.home}" output="xml" outputFile="build/findbugs.xml"
+ excludeFilter="src/resources/devtools/findbugs-filters.xml">
+ <fileset dir="${dist.dir}">
+ <include name="poi-${version.id}-*.jar"/>
+ <include name="poi-scratchpad-${version.id}-*.jar"/>
+ <include name="poi-ooxml-${version.id}-*.jar"/>
+ <exclude name="poi-*${version.id}-sources-*.jar"/>
+ <exclude name="poi-*${version.id}-javadocs-*.jar"/>
+ </fileset>
+ <auxClasspath path="${compile.lib}/bcpkix-jdk15on-1.51.jar" />
+ <auxClasspath path="${compile.lib}/bcprov-ext-jdk15on-1.51.jar" />
+ <auxClasspath path="${compile.lib}/slf4j-api-1.7.7.jar" />
+ <auxClasspath path="${compile.lib}/xmlsec-2.0.1.jar" />
+ <auxClasspath path="ooxml-lib/ooxml-schemas-1.1.jar" />
+ <auxClasspath path="ooxml-lib/ooxml-security-1.0.jar" />
+ <auxClasspath path="ooxml-lib/xmlbeans-2.6.0.jar" />
+ <auxClasspath path="lib/commons-codec-1.9.jar" />
+ <auxClasspath path="lib/commons-logging-1.1.3.jar" />
+ <auxClasspath path="lib/junit-4.12.jar" />
+ <sourcePath path="src/java" />
+ <sourcePath path="src/ooxml/java" />
+ <sourcePath path="src/scratchpad/src" />
+ </findbugs>
</target>
<target name="test-scratchpad-download-resources">