我找不到poi-ooxml-schemas的源代码存储库 [英] I can not find for the source code repository for poi-ooxml-schemas

查看:568
本文介绍了我找不到poi-ooxml-schemas的源代码存储库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好的,这有点奇怪.我已经从结帐apache-poi 3.9版源代码 http://archive.apache.org/dist/poi/release/src/ 但是我找不到poi-xml-schemas的源代码.我一直在谷歌搜索,但无济于事.这些项目的代码存储库在哪里?它是与poi源代码分开的项目,还是与用作库的其他项目分开的项目,但是代码存储库在哪里?

Alright, this is a little bit wierd. I've checkout apache-poi version 3.9 source code from http://archive.apache.org/dist/poi/release/src/ But I can not find the source code for poi-xml-schemas. I have been googling but to no avail. Where is the code repository for these project? Is it a separate project from the poi source code or it is from some other project used as a library, but where is the code repository?

推荐答案

Apache POI常见问题解答(#14),我引述如下:

14.我似乎找不到OOXML CT ..类的源,它们是从哪里来的?

Apache POI中的OOXML支持建立在XML Schemas文件格式的基础上,XML Schemas是使用 XMLBeans .当前,编译是使用XMLBeans 2.3完成的,以最大程度地实现与安装的兼容性. (您可以在XMLBeans 2.3运行时或任何更高版本的XMLBeans上使用结果类.如果您当前正在使用XMLBeans 2.2或更早版本,则很遗憾必须升级,但这已不再常见了.)

The OOXML support in Apache POI is built on top of the file format XML Schemas, as compiled into Java using XMLBeans. Currently, the compilation is done with XMLBeans 2.3, for maximum compatibility with installations. (You can use the resulting classes on the XMLBeans 2.3 runtime, or any later version of XMLBeans. If you are currently using XMLBeans 2.2 or earlier, you will unfortunately have to upgrade, but this isn't common any more).

所有org.openxmlformats.schemas.spreadsheetml.x2006 CT...类都是XMLBeans自动生成的.生成的生成的Java放入 ooxml-schemas-src jar 中,并将编译后的版本放入 ooxml-schemas jar 中.

All of the org.openxmlformats.schemas.spreadsheetml.x2006 CT... classes are auto-generated by XMLBeans. The resulting generated Java goes in the ooxml-schemas-src jar, and the compiled version into the ooxml-schemas jar.

完整的 ooxml-schemas jar与Apache POI一起分发,而缩减后的 poi-ooxml-schemas jar仅包含公共部分.源jar通常不随POI一起分发.但是,它可以从Maven Central中获得-向您最喜欢的Maven镜像请求 ooxml-schemas-src jar.另外,如果您下载POI源代码发行版(或从SVN检出)并进行构建,Ant会自动下载规范XML Schema,并对其进行编译以生成源和二进制ooxml-schemas jar.

The full ooxml-schemas jar is distributed with Apache POI, along with the cut-down poi-ooxml-schemas jar containing just the common parts. The source jar isn't normally distributed with POI. It is, however, available from Maven Central - ask your favourite Maven mirror for the ooxml-schemas-src jar. Alternately, if you download the POI source distribution (or checkout from SVN) and build, Ant will automatically download the specification XML Schema, and compile it for you to generate the source and binary ooxml-schemas jars.

这篇关于我找不到poi-ooxml-schemas的源代码存储库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆