You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2014/03/19 11:24:50 UTC

[Bug 56282] New: org.openxmlformats.schemas.drawingml.x2006.main.STTextFontAlignType missing in poi-ooxml-schemas.jar

https://issues.apache.org/bugzilla/show_bug.cgi?id=56282

            Bug ID: 56282
           Summary: org.openxmlformats.schemas.drawingml.x2006.main.STText
                    FontAlignType missing in poi-ooxml-schemas.jar
           Product: POI
           Version: 3.10
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: POI Overall
          Assignee: dev@poi.apache.org
          Reporter: mlehmannm@gmail.com

org.openxmlformats.schemas.drawingml.x2006.main.STTextFontAlignType and other
enclosing types are missing.
Other types with Factory (and Enum) are there, such as
org.openxmlformats.schemas.drawingml.x2006.main.STTextStrikeType.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 56282] org.openxmlformats.schemas.drawingml.x2006.main.STTextFontAlignType missing in poi-ooxml-schemas.jar

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56282

--- Comment #2 from Marco Lehmann-Mörz <ml...@gmail.com> ---
(In reply to Nick Burch from comment #1)
> See http://poi.apache.org/faq.html#faq-N10025 for details of how the smaller
> poi-ooxml-schemas jar gets generated, and what is needed to get more classes
> included in it

Thanks for your answer.

The problem is that 

STTextFontAlignType$Enum.class (which is there) won't work without
STTextFontAlignType.class (which is missing).

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Re: [Bug 56282] org.openxmlformats.schemas.drawingml.x2006.main.STTextFontAlignType missing in poi-ooxml-schemas.jar

Posted by David kerber <dc...@verizon.net>.
On 3/19/2014 10:00 AM, bugzilla@apache.org wrote:
> https://issues.apache.org/bugzilla/show_bug.cgi?id=56282
>
> --- Comment #4 from Marco Lehmann-Mörz <ml...@gmail.com> ---
> (In reply to Nick Burch from comment #3)
>> As the FAQ states, if something is missing, we need a unit test that uses
>> the missing part, then it'll get included in future. Bonus marks if the unit
>> test checks something useful :)
>
> I think we don't understand each other:
>
> If STTextFontAlignType$Enum.class is included, STTextFontAlignType.class MUST
> be included for the very same reason(s).

He understands, but what you don't understand is that if nothing (no 
unit test) tests anything in the missing class, the build process 
doesn't think that class is necessary.  If there is a unit test that 
uses the class, then it will be included.  As he said, if the unit test 
does something useful beyond just checking the existence of a class, 
then that's a bonus.



>
> What I try to achieve:
>
> We have an Eclipse RCP application where we need to create OOXML files.
> I want to build an OSGi bundle / Eclipse Plug-in that contains org.apache.poi +
> ooxml-extensions.
> To compile all classes and build a proper bundle I need poi-ooxml-schemas.jar
> (which I do reference in my maven/tycho build).
> The compilation fails with complaints about the missing class I mentioned
> above.
>
>
> Unfortunately, I already deleted my experiment and switched back to my working
> version 3.9. :-(
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Re: [Bug 56282] org.openxmlformats.schemas.drawingml.x2006.main.STTextFontAlignType missing in poi-ooxml-schemas.jar

Posted by David Kerber <dk...@miner.mst.edu>.
On 3/19/2014 10:00 AM, bugzilla@apache.org wrote:
> https://issues.apache.org/bugzilla/show_bug.cgi?id=56282
>
> --- Comment #4 from Marco Lehmann-Mörz <ml...@gmail.com> ---
> (In reply to Nick Burch from comment #3)
>> As the FAQ states, if something is missing, we need a unit test that uses
>> the missing part, then it'll get included in future. Bonus marks if the unit
>> test checks something useful :)
>
> I think we don't understand each other:
>
> If STTextFontAlignType$Enum.class is included, STTextFontAlignType.class MUST
> be included for the very same reason(s).

He understands, but what you don't understand is that if nothing (no 
unit test) tests anything in the missing class, the build process 
doesn't think that class is necessary.  If there is a unit test that 
uses the class, then it will be included.  As he said, if the unit test 
does something useful beyond just checking the existence of a class, 
then that's a bonus.



>
> What I try to achieve:
>
> We have an Eclipse RCP application where we need to create OOXML files.
> I want to build an OSGi bundle / Eclipse Plug-in that contains org.apache.poi +
> ooxml-extensions.
> To compile all classes and build a proper bundle I need poi-ooxml-schemas.jar
> (which I do reference in my maven/tycho build).
> The compilation fails with complaints about the missing class I mentioned
> above.
>
>
> Unfortunately, I already deleted my experiment and switched back to my working
> version 3.9. :-(
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 56282] org.openxmlformats.schemas.drawingml.x2006.main.STTextFontAlignType missing in poi-ooxml-schemas.jar

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56282

--- Comment #4 from Marco Lehmann-Mörz <ml...@gmail.com> ---
(In reply to Nick Burch from comment #3)
> As the FAQ states, if something is missing, we need a unit test that uses
> the missing part, then it'll get included in future. Bonus marks if the unit
> test checks something useful :)

I think we don't understand each other:

If STTextFontAlignType$Enum.class is included, STTextFontAlignType.class MUST
be included for the very same reason(s).

What I try to achieve:

We have an Eclipse RCP application where we need to create OOXML files.
I want to build an OSGi bundle / Eclipse Plug-in that contains org.apache.poi +
ooxml-extensions.
To compile all classes and build a proper bundle I need poi-ooxml-schemas.jar
(which I do reference in my maven/tycho build).
The compilation fails with complaints about the missing class I mentioned
above.


Unfortunately, I already deleted my experiment and switched back to my working
version 3.9. :-(

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 56282] org.openxmlformats.schemas.drawingml.x2006.main.STTextFontAlignType missing in poi-ooxml-schemas.jar

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56282

Nick Burch <ap...@gagravarr.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from Nick Burch <ap...@gagravarr.org> ---
See http://poi.apache.org/faq.html#faq-N10025 for details of how the smaller
poi-ooxml-schemas jar gets generated, and what is needed to get more classes
included in it

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 56282] org.openxmlformats.schemas.drawingml.x2006.main.STTextFontAlignType missing in poi-ooxml-schemas.jar

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56282

--- Comment #3 from Nick Burch <ap...@gagravarr.org> ---
As the FAQ states, if something is missing, we need a unit test that uses the
missing part, then it'll get included in future. Bonus marks if the unit test
checks something useful :)

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org