]> source.dussan.org Git - poi.git/commitdiff
fix forbidden-apis check
authorPJ Fanning <fanningpj@apache.org>
Tue, 18 Sep 2018 23:25:49 +0000 (23:25 +0000)
committerPJ Fanning <fanningpj@apache.org>
Tue, 18 Sep 2018 23:25:49 +0000 (23:25 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1841275 13f79535-47bb-0310-9956-ffa450edef68

build.xml

index 8b2624dda4e24f8aee8525b0f1c1b9f234da703f..b7f411e9130ddba2cb9587537d7d1dd725d8c663 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -428,13 +428,17 @@ under the License.
         <pathelement location="${additionaljar}"/>
     </path>
 
+    <path id="test.ooxml.reflections.classpath">
+        <pathelement location="${ooxml.test.reflections.jar}"/>
+        <pathelement location="${ooxml.test.guava.jar}"/>
+        <pathelement location="${ooxml.test.javassist.jar}"/>
+    </path>
+
     <path id="test.ooxml.classpath">
         <path refid="ooxml.classpath"/>
         <path refid="ooxml.xmlsec.classpath"/>
         <path refid="test.jar.classpath"/>
-        <pathelement location="${ooxml.test.reflections.jar}"/>
-        <pathelement location="${ooxml.test.guava.jar}"/>
-        <pathelement location="${ooxml.test.javassist.jar}"/>
+        <path refid="test.ooxml.reflections.classpath"/>
         <pathelement location="${ooxml.output.dir}"/>
         <pathelement location="${ooxml.output.test.dir}"/>
         <pathelement location="${main.output.test.dir}"/>
@@ -499,6 +503,7 @@ under the License.
         <path refid="scratchpad.classpath"/>
         <path refid="ooxml.classpath"/>
         <path refid="ooxml.xmlsec.classpath"/>
+        <path refid="test.ooxml.reflections.classpath"/> 
         <path refid="excelant.classpath"/>
         <path refid="examples.classpath"/>
         <pathelement location="${examples.output.dir}"/>