Author: fanningpj
Date: Sun Jul 5 09:39:09 2020
New Revision: 1879518
URL: http://svn.apache.org/viewvc?rev=1879518&view=rev
Log:
try to fix issue with missing classes in poi-ooxml-schemas
Modified:
poi/trunk/build.xml
poi/trunk/src/ooxml/testcases/org/apache/poi/xddf/usermodel/TestNecessaryOOXMLClasses.java
Modified: poi/trunk/build.xml
URL:
http://svn.apache.org/viewvc/poi/trunk/build.xml?rev=1879518&r1=1879517&r2=1879518&view=diff
==============================================================================
--- poi/trunk/build.xml (original)
+++ poi/trunk/build.xml Sun Jul 5 09:39:09 2020
@@ -400,7 +400,8 @@ under the License.
</path>
<path id="ooxml.classpath">
- <pathelement location="${ooxml.xsds.jar}"/>
+<pathelement
location="/Users/pj.fanning/code/poi-5.0.0-SNAPSHOT/poi-ooxml-schemas-5.0.0-SNAPSHOT.jar"/>
+ <!-- <pathelement location="${ooxml.xsds.jar}"/> -->
<path refid="ooxml.base.classpath"/>
<path refid="batik.classpath"/>
</path>
Modified:
poi/trunk/src/ooxml/testcases/org/apache/poi/xddf/usermodel/TestNecessaryOOXMLClasses.java
URL:
http://svn.apache.org/viewvc/poi/trunk/src/ooxml/testcases/org/apache/poi/xddf/usermodel/TestNecessaryOOXMLClasses.java?rev=1879518&r1=1879517&r2=1879518&view=diff
==============================================================================
---
poi/trunk/src/ooxml/testcases/org/apache/poi/xddf/usermodel/TestNecessaryOOXMLClasses.java
(original)
+++
poi/trunk/src/ooxml/testcases/org/apache/poi/xddf/usermodel/TestNecessaryOOXMLClasses.java
Sun Jul 5 09:39:09 2020
@@ -171,6 +171,11 @@ public class TestNecessaryOOXMLClasses {
Assert.assertNull(xeb.getErrorBarType());
Assert.assertNull(xeb.getErrorDirection());
Assert.assertNull(xeb.getErrorValueType());
+
+ Assert.assertNotNull(CTErrBarType.Factory.newInstance());
+ Assert.assertNotNull(CTErrValType.Factory.newInstance());
+ Assert.assertNotNull(CTErrDir.Factory.newInstance());
+
STErrBarType.Enum e9 = STErrBarType.Enum.forString("both");
Assert.assertNotNull(e9);
STErrValType.Enum e10 = STErrValType.Enum.forString("percentage");
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]