Re: poi site - missing trademark declaration
Hi Nick, I've modified my local forrest setup to run with JDK 18 - I've attached you the modified files (main/targets/site.xml and main/webapp/default-forrest.properties). Up till now it seems to only have problems with .css (i.e the skin css) - after commenting out the parallel build, only the profile.css is generated invalid. Regarding the ant build - I don't intent do any modifications there (and rather would like to remove it) and it looks the other approach [1] got stuck somewhere, so if the modifications work for you, I would add a manual task to the gradle build for fixing the http urls and other forrest left-overs originally handled in the ant build. Andi [1] https://lists.apache.org/thread/yo7j2z87y07rvvghh52qz1rfdkcd1pq0 On 09.06.22 22:01, Nick Burch 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: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org Copying the various non-generated resources to site. Warnings will be issued if the optional project resources are not found. This is often the case, because they are optional and so may not be available. Finished copying the non-generated resources. Now Cocoon will generate the rest. Static site will be generated at: ${project.site-dir} Cocoon will report the status of each document: - in column 1: *=okay X=brokenLink ^=pageSkipped (see FAQ). Copying broken links file to site root.Error building site. There appears to be a problem with your site build. Read the output above: * Cocoon will report the status of each document: - in column 1: *=okay X=brokenLink ^=pageSkipped (see FAQ). * Even if only one link is broken, you will still get "failed". * Your site would still be generated, but some pages would be broken. - See ${project.site-dir}/broken-links.xml - Static site was successfully generated at: ${project.site-dir}
Re: poi site - missing trademark declaration
I use Java 8 when building with Ant. On Thursday 9 June 2022, 21:03:53 IST, Nick Burch 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: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org - To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org
Re: poi site - missing trademark declaration
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: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org
poi site - missing trademark declaration
Hi, I noticed on whimsy site [1] that POI site [2] is missing a trademark declaration. 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? [1] https://whimsy.apache.org/site/project/poi [2] https://poi.apache.org/ - To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org