LOL, There is a lot of old stuff that doesn’t have unit tests. If you are 
regularly making use of CT classes, then you might want to consider using the 
full ooxml-schemas jar.

-----Original Message-----
From: Eliot Kimber [mailto:ekim...@contrext.com] 
Sent: Wednesday, August 01, 2018 7:40 AM
To: POI Users List <user@poi.apache.org>
Subject: Re: How to Resolve "Indirectly referenced from required .class files" 
Issue?

Note that I'm getting this error in the context of a standalone project, not 
the POI code itself.

However, I can do the work I'm doing in POI in order to extend the XWPFRun API 
and for that I would of course create unit tests (what kind of monster would 
not create a unit test for a new method?).

Cheers,

E.
--
Eliot Kimber
http://contrext.com
 

On 7/31/18, 10:59 PM, "Mark Murphy" <jmarkmur...@gmail.com> wrote:

    CT Classes are added to the poi-ooxml-schemas jar based on unit tests. If
    the class is used by a unit test, it is included in the jar. I generally
    use the full schema in ooxml-schemas for development so I don't hit that
    issue. And you should always add unit tests for new code, and examples so
    that others can use your code.
    
    On Tue, Jul 31, 2018 at 7:29 PM pj.fanning <fannin...@yahoo.com> wrote:
    
    > poi-ooxml depends on poi-ooxml-schemas and this latter jar has the most
    > commonly used XMLBeans generated classes for the OOXML xsds. CTEm appears
    > to
    > be missing from this jar.
    > We can add it for the 4.0.0 release.
    > ooxml-schemas has the full set of generated classes. We will be releasing
    > v1.4 of this jar with poi 4.0.0.
    > It is built with the rest of the poi jars (if you building locally).
    >
    >
    >
    > --
    > Sent from: http://apache-poi.1045710.n5.nabble.com/POI-User-f2280730.html
    >
    > ---------------------------------------------------------------------
    > To unsubscribe, e-mail: user-unsubscr...@poi.apache.org
    > For additional commands, e-mail: user-h...@poi.apache.org
    >
    >
    



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@poi.apache.org For additional 
commands, e-mail: user-h...@poi.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@poi.apache.org
For additional commands, e-mail: user-h...@poi.apache.org

Reply via email to