I use Java 8 when building with Ant.





On Thursday 9 June 2022, 21:03:53 IST, Nick Burch <[email protected]> wrote: 





On Thu, 9 Jun 2022, PJ Fanning wrote:

> The src/documentation/index.xml that we have for Forrest build seems to 
> try to add it as a footer but it doesn't get picked up. I don't much 
> about Forrest. Anyone know how this can be fixed?


I've a few ideas, but currently I can't seem to build POI from a svn 
checkout using ant...

Gradle builds the source just fine, but we need Ant to use with Forrest


If I try "ant clean jar" it fails on compile-ooxml with

poi-ooxml/src/main/java/org/apache/poi/xslf/draw/SVGUserAgent.java:66: 
error: cannot access ViewCSS
    [javac]        String viewBoxStr = el.getAttributeNS(null, 
SVGConstants.SVG_VIEW_BOX_ATTRIBUTE);
    [javac]                              ^
    [javac]  class file for org.w3c.dom.css.ViewCSS not found


If I try with "ant docs" then it fails with
      [exec] load-project-props:
      [exec]
      [exec] BUILD FAILED
      [exec] java.lang.NoClassDefFoundError: org/w3c/dom/ls/DocumentLS
      [exec]     at java.base/java.lang.ClassLoader.defineClass1(Native 
Method)
      [exec]     at 
java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017)


Is there a trick to getting POI to build happily with Ant, and Java 11, 
that anyone knows?

Nick

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



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

Reply via email to