diff options
author | Dominik Stadler <centic@apache.org> | 2017-09-16 08:20:50 +0000 |
---|---|---|
committer | Dominik Stadler <centic@apache.org> | 2017-09-16 08:20:50 +0000 |
commit | e69fbd627093c64695c3aa59b036db4d5801bce3 (patch) | |
tree | 7a1f55256fa0b5e61545c7a0d6dc5701d5218e74 /build.xml | |
parent | bcafee36cc3f97b34c2384969bb132504ee6d46c (diff) | |
download | poi-e69fbd627093c64695c3aa59b036db4d5801bce3.tar.gz poi-e69fbd627093c64695c3aa59b036db4d5801bce3.zip |
Allow to produce a jar for the integration-test-code so we can use it directly in the mass-regression tests without having to copy it for every run.
Enable some forbidden-api-checks for integration-test code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808506 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -445,6 +445,8 @@ under the License. <path refid="ooxml.classpath"/> <path refid="ooxml.xmlsec.classpath"/> <path refid="excelant.classpath"/> + <path refid="examples.classpath"/> + <pathelement location="${examples.output.dir}"/> <path path="${env.CLASSPATH}"/> </path> @@ -1978,6 +1980,9 @@ under the License. <maven-jar dir="${excelant.src}"/> </target> + <target name="integration-test-jar" depends="compile-integration,-manifest" description="target for packaging the integration-test code for mass regression test runs"> + <maven-jar dir="${integration.output.test.dir}"/> + </target> <target name="-do-jar-check-javadocs-package-list"> <condition property="javadocs.package-list.present"> @@ -2228,7 +2233,7 @@ under the License. <!-- spot any cases where we've accidently used methods we shouldn't --> <!-- See https://github.com/policeman-tools/forbidden-apis for details --> <!-- of the checks that this can do --> - <target name="forbidden-apis-check" depends="init, compile"> + <target name="forbidden-apis-check" depends="init, compile, compile-integration"> <taskdef name="forbiddenapis" classname="de.thetaphi.forbiddenapis.ant.AntTask" classpath="${forbidden.jar}"/> @@ -2262,6 +2267,7 @@ under the License. <!-- <fileset dir="${scratchpad.output.test.dir}"/> <fileset dir="${excelant.output.test.dir}"/> + <fileset dir="${integration.output.test.dir}"/> --> </forbiddenapis> @@ -2277,6 +2283,7 @@ under the License. <fileset dir="${ooxml.output.dir}"/> <fileset dir="${scratchpad.output.dir}"/> <fileset dir="${excelant.output.dir}"/> + <fileset dir="${integration.output.test.dir}"/> </forbiddenapis> </target> |