build?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

build?

Tim Allison
All,
  Many apologies...it has been too long since I've worked with our
codebase.  I recently did a fresh pull and can't get a clean
build...ant compile works, but I get a failure with ant test. See link
below for system, versions and stacktrace [1].
  User error?

   Thank you!

                Cheers,

                      Tim

[1] https://github.com/apache/tika/pull/404#issuecomment-784167038

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: build?

Tim Allison
ant test seems to be working (waiting for completion, but it at least
looks promising) on my mac with jdk 11.

     [echo] Using Ant: Apache Ant(TM) version 1.10.7 compiled on
September 1 2019 from /usr/local/Cellar/ant/1.10.7/libexec, Ant
detected Java 11 (may be different than actual Java sometimes...)

     [echo] Using Java: 11.0.4/11.0.4+11/11.0.4+11/OpenJDK 64-Bit
Server VM from AdoptOpenJDK on Mac OS X: 10.15.7

     [echo] Building Apache POI version 5.0.1-SNAPSHOT and RC: RC1

Do we need jdk 11 for the build or am I doing something wrong on
Ubuntu w Java 8?

Thank you!


On Tue, Feb 23, 2021 at 7:43 AM Tim Allison <[hidden email]> wrote:

>
> All,
>   Many apologies...it has been too long since I've worked with our
> codebase.  I recently did a fresh pull and can't get a clean
> build...ant compile works, but I get a failure with ant test. See link
> below for system, versions and stacktrace [1].
>   User error?
>
>    Thank you!
>
>                 Cheers,
>
>                       Tim
>
> [1] https://github.com/apache/tika/pull/404#issuecomment-784167038

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: build?

Tim Allison
ant test test-integration works with jdk 11 on my mac.

But when I then try to ./gradlew build, I get:

 Task :ooxml:ant-init

[ant:echo] Using Ant: Apache Ant(TM) version 1.10.9 compiled on
September 27 2020 from ${ant.home}, Ant detected Java 11 (may be
different than actual Java sometimes...)

[ant:echo] Using Java: 11.0.4/11.0.4+11/11.0.4+11/OpenJDK 64-Bit
Server VM from AdoptOpenJDK on Mac OS X: 10.15.7

[ant:echo] Building Apache POI version 5.0.1-SNAPSHOT and RC: RC1


> Task :ooxml:compileJava

/Users/allison/Intellij/poi-trunk/src/ooxml/java/org/apache/poi/ooxml/util/XPathHelper.java:180:
error: cannot access DocumentFactory

                AlternateContentDocument acd =
AlternateContentDocument.Factory.parse(cur.newXMLStreamReader());

                                                                               ^

  class file for org.apache.xmlbeans.impl.schema.DocumentFactory not found

/Users/allison/Intellij/poi-trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFColor.java:117:
error: recursive constructor invocation

    public XSSFColor(byte[] rgb, IndexedColorMap colorMap) {

           ^

/Users/allison/Intellij/poi-trunk/src/ooxml/java/org/apache/poi/xddf/usermodel/text/XDDFHyperlink.java:29:
error: recursive constructor invocation

    public XDDFHyperlink(String id) {

           ^

/Users/allison/Intellij/poi-trunk/src/ooxml/java/org/apache/poi/xddf/usermodel/XDDFLineProperties.java:42:
error: recursive constructor invocation

    public XDDFLineProperties(XDDFFillProperties fill) {

           ^

/Users/allison/Intellij/poi-trunk/src/ooxml/java/org/apache/poi/xddf/usermodel/XDDFPresetLineDash.java:28:
error: recursive constructor invocation

    public XDDFPresetLineDash(PresetLineDash dash) {

           ^

/Users/allison/Intellij/poi-trunk/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFRun.java:468:
error: cannot access SimpleTypeFactory

            STHexColorAuto hexColor = STHexColorAuto.Factory.newInstance();

                                                            ^

  class file for org.apache.xmlbeans.impl.schema.SimpleTypeFactory not found

/Users/allison/Intellij/poi-trunk/src/ooxml/java/org/apache/poi/xddf/usermodel/text/XDDFBulletSizePoints.java:28:
error: recursive constructor invocation

    public XDDFBulletSizePoints(double value) {

           ^

/Users/allison/Intellij/poi-trunk/src/ooxml/java/org/apache/poi/xddf/usermodel/XDDFSolidFillProperties.java:38:
error: recursive constructor invocation

    public XDDFSolidFillProperties(XDDFColor color) {

           ^

On Tue, Feb 23, 2021 at 7:53 AM Tim Allison <[hidden email]> wrote:

>
> ant test seems to be working (waiting for completion, but it at least
> looks promising) on my mac with jdk 11.
>
>      [echo] Using Ant: Apache Ant(TM) version 1.10.7 compiled on
> September 1 2019 from /usr/local/Cellar/ant/1.10.7/libexec, Ant
> detected Java 11 (may be different than actual Java sometimes...)
>
>      [echo] Using Java: 11.0.4/11.0.4+11/11.0.4+11/OpenJDK 64-Bit
> Server VM from AdoptOpenJDK on Mac OS X: 10.15.7
>
>      [echo] Building Apache POI version 5.0.1-SNAPSHOT and RC: RC1
>
> Do we need jdk 11 for the build or am I doing something wrong on
> Ubuntu w Java 8?
>
> Thank you!
>
>
> On Tue, Feb 23, 2021 at 7:43 AM Tim Allison <[hidden email]> wrote:
> >
> > All,
> >   Many apologies...it has been too long since I've worked with our
> > codebase.  I recently did a fresh pull and can't get a clean
> > build...ant compile works, but I get a failure with ant test. See link
> > below for system, versions and stacktrace [1].
> >   User error?
> >
> >    Thank you!
> >
> >                 Cheers,
> >
> >                       Tim
> >
> > [1] https://github.com/apache/tika/pull/404#issuecomment-784167038

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]