See <https://builds.apache.org/job/POI-DSL-1.8/601/display/redirect?page=changes>
Changes: [fanningpj] Implemented GEOMEAN function. Thanks to gallonfizik. This closes #136 ------------------------------------------ [...truncated 592.79 KB...] [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/eventusermodel/ReadOnlySharedStringsTable.java>:74: error: bad use of '>' [javadoc] </si> [javadoc] ^ [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/eventusermodel/ReadOnlySharedStringsTable.java>:75: error: bad use of '>' [javadoc] <si> [javadoc] ^ [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/eventusermodel/ReadOnlySharedStringsTable.java>:76: error: bad use of '>' [javadoc] <t>This does not</t> [javadoc] ^ [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/eventusermodel/ReadOnlySharedStringsTable.java>:76: error: bad use of '>' [javadoc] <t>This does not</t> [javadoc] ^ [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/eventusermodel/ReadOnlySharedStringsTable.java>:77: error: bad use of '>' [javadoc] </si> [javadoc] ^ [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/eventusermodel/ReadOnlySharedStringsTable.java>:78: error: bad use of '>' [javadoc] </sst> [javadoc] ^ [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:92: error: malformed HTML [javadoc] * @throws IllegalArgumentException if <code>num</code> < 0 [javadoc] ^ [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/model/StylesTable.java>:93: error: malformed HTML [javadoc] * @throws IllegalStateException if <code>num</code> < current number of data formats in the style table. [javadoc] ^ [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFRow.java>:118: error: malformed HTML [javadoc] * @throws IllegalArgumentException if columnIndex < 0 or greater than the maximum number of supported columns [javadoc] ^ [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFRow.java>:135: error: malformed HTML [javadoc] * @throws IllegalArgumentException if columnIndex < 0 or greater than a maximum number of supported columns [javadoc] ^ [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFRow.java>:193: error: malformed HTML [javadoc] * @throws IllegalArgumentException if rowNum < 0 [javadoc] ^ [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFRow.java>:232: error: malformed HTML [javadoc] * @throws IllegalArgumentException if cellnum < 0 or the specified MissingCellPolicy is invalid [javadoc] ^ [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:4083: error: unterminated signature [javadoc] * @deprecated Use {@link #createTable(AreaReference))} instead [javadoc] ^ [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFColor.java>:267: error: unknown tag: clrScheme [javadoc] * Index into the <clrScheme> collection, referencing a particular <sysClr> or [javadoc] ^ [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFColor.java>:267: error: unknown tag: sysClr [javadoc] * Index into the <clrScheme> collection, referencing a particular <sysClr> or [javadoc] ^ [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFColor.java>:268: error: unknown tag: srgbClr [javadoc] * <srgbClr> value expressed in the Theme part. [javadoc] ^ [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFColor.java>:276: error: unknown tag: clrScheme [javadoc] * Index into the <clrScheme> collection, referencing a particular <sysClr> or [javadoc] ^ [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFColor.java>:276: error: unknown tag: sysClr [javadoc] * Index into the <clrScheme> collection, referencing a particular <sysClr> or [javadoc] ^ [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFColor.java>:277: error: unknown tag: srgbClr [javadoc] * <srgbClr> value expressed in the Theme part. [javadoc] ^ [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFDxfStyleProvider.java>:42: error: bad use of '>' [javadoc] * @param stripeSize 0 for non-stripe styles, > 1 for stripes [javadoc] ^ [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFName.java>:146: error: tag not allowed here: <blockquote> [javadoc] * <pre><blockquote> [javadoc] ^ [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFName.java>:165: error: unexpected end tag: </p> [javadoc] * </p> [javadoc] ^ [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFName.java>:36: error: tag not allowed here: <blockquote> [javadoc] * <pre><blockquote> [javadoc] ^ [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFName.java>:86: error: tag not allowed here: <li> [javadoc] * <li> this defined name refers to a range to which an advanced filter has been [javadoc] ^ [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFName.java>:88: error: tag not allowed here: <li> [javadoc] * <li> This defined name refers to a range to which an AutoFilter has been [javadoc] ^ [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRichTextString.java>:431: error: bad use of '>' [javadoc] * CTRPrElt --> CTFont adapter [javadoc] ^ [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRow.java>:105: error: unknown tag: Cell [javadoc] * for (Iterator<Cell> it = row.cellIterator(); it.hasNext(); ) { [javadoc] ^ [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRow.java>:192: error: malformed HTML [javadoc] * @throws IllegalArgumentException if columnIndex < 0 or greater than 16384, [javadoc] ^ [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRow.java>:206: error: malformed HTML [javadoc] * @throws IllegalArgumentException if the specified cell type is invalid, columnIndex < 0 [javadoc] ^ [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRow.java>:385: error: malformed HTML [javadoc] * @throws IllegalArgumentException if rowNum < 0 or greater than 1048575 [javadoc] ^ [javadoc] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheetConditionalFormatting.java>:70: error: unexpected end tag: </p> [javadoc] * </p> [javadoc] ^ [javadoc] 100 errors [javadoc] 100 warnings [jar] Building jar: <https://builds.apache.org/job/POI-DSL-1.8/ws/build/dist/maven/poi-ooxml/poi-ooxml-4.1.0-javadoc.jar> assemble: [zip] Building zip: <https://builds.apache.org/job/POI-DSL-1.8/ws/build/dist/poi-bin-4.1.0-20181216.zip> [tar] Building tar: <https://builds.apache.org/job/POI-DSL-1.8/601/artifact/build/dist/poi-bin-4.1.0-20181216.tar.gz> [zip] Building zip: <https://builds.apache.org/job/POI-DSL-1.8/ws/build/dist/poi-src-4.1.0-20181216.zip> [tar] Building tar: <https://builds.apache.org/job/POI-DSL-1.8/601/artifact/build/dist/poi-src-4.1.0-20181216.tar.gz> [echo] Creating Maven POMs maven-poms: [copy] Copying 6 files to <https://builds.apache.org/job/POI-DSL-1.8/ws/build/dist/maven> [echo] Maven POMs are located in <https://builds.apache.org/job/POI-DSL-1.8/ws/build/dist> [echo] Use ant dist-nexus to deploy the artifacts in the remote repository [echo] Distribution located in <https://builds.apache.org/job/POI-DSL-1.8/ws/build/dist> [echo] Use "ant dist-checksum" to create sha256/sha512 checksums and GPG signatures findbugs: [get] Destination already exists (skipping): <https://builds.apache.org/job/POI-DSL-1.8/ws/lib/findbugs-noUpdateChecks-3.0.1.zip> [unzip] Expanding: <https://builds.apache.org/job/POI-DSL-1.8/ws/lib/findbugs-noUpdateChecks-3.0.1.zip> into <https://builds.apache.org/job/POI-DSL-1.8/ws/build/findbugs> [findbugs] Executing findbugs FindBugsTask from ant task [findbugs] Running FindBugs... [findbugs] The following classes needed for analysis were missing: [findbugs] org.apache.batik.bridge.UserAgent [findbugs] org.apache.batik.bridge.DocumentLoader [findbugs] org.apache.batik.bridge.BridgeContext [findbugs] org.apache.batik.ext.awt.RenderingHintsKeyExt [findbugs] org.apache.batik.ext.awt.image.renderable.Filter [findbugs] org.apache.batik.bridge.GVTBuilder [findbugs] org.apache.batik.util.XMLResourceDescriptor [findbugs] org.apache.batik.anim.dom.SAXSVGDocumentFactory [findbugs] org.apache.batik.bridge.UserAgentAdapter [findbugs] org.apache.batik.gvt.GraphicsNode [findbugs] org.apache.batik.ext.awt.image.renderable.ClipRable8Bit [findbugs] org.apache.batik.ext.awt.image.renderable.ClipRable [findbugs] Warnings generated: 122 [findbugs] Missing classes: 9 [findbugs] Calculating exit code... [findbugs] Setting 'missing class' flag (2) [findbugs] Setting 'bugs found' flag (1) [findbugs] Exit code set to: 3 [findbugs] Java Result: 3 [findbugs] Classes needed for analysis were missing [findbugs] Output saved to build/findbugs.xml [xslt] Transforming into <https://builds.apache.org/job/POI-DSL-1.8/ws/build> [xslt] Processing <https://builds.apache.org/job/POI-DSL-1.8/ws/build/findbugs.xml> to <https://builds.apache.org/job/POI-DSL-1.8/601/artifact/build/findbugs.html> [xslt] Loading stylesheet jar:<https://builds.apache.org/job/POI-DSL-1.8/ws/build/findbugs/lib/findbugs.jar!/fancy-hist.xsl> release-notes: [copy] Copying 1 file to <https://builds.apache.org/job/POI-DSL-1.8/ws/build/dist> rat-check: [mkdir] Created dir: <https://builds.apache.org/job/POI-DSL-1.8/ws/build/rat> [echo] [echo] ***************************************************** [echo] Summary [echo] ------- [echo] Generated at: 2018-12-16T19:35:35+00:00 [echo] [echo] Notes: 0 [echo] Binaries: 104 [echo] Archives: 0 [echo] Standards: 3761 [echo] [echo] Apache Licensed: 3760 [echo] Generated Documents: 0 [echo] [echo] JavaDocs are generated, thus a license header is optional. [echo] Generated files do not require license headers. [echo] [echo] 1 Unknown Licenses [echo] [echo] ***************************************************** [echo] [echo] Files with unapproved licenses: [echo] [echo] <https://builds.apache.org/job/POI-DSL-1.8/ws/src/testcases/org/apache/poi/ss/formula/functions/TestGeomean.java> [echo] [echo] ***************************************************** [echo] [echo] ***************************************************** [echo] Files with Apache License headers will be marked AL [echo] Binary files (which do not require any license headers) will be marked B [echo] Compressed archives will be marked A [echo] Notices, licenses etc. will be marked N [echo] !????? <https://builds.apache.org/job/POI-DSL-1.8/ws/src/testcases/org/apache/poi/ss/formula/functions/TestGeomean.java> [echo] [echo] ***************************************************** [echo] [echo] Printing headers for text files without a valid license header... [echo] [echo] ===================================================== [echo] == File: <https://builds.apache.org/job/POI-DSL-1.8/ws/src/testcases/org/apache/poi/ss/formula/functions/TestGeomean.java> [echo] ===================================================== [echo] package org.apache.poi.ss.formula.functions; [echo] [echo] import org.apache.poi.ss.formula.eval.*; [echo] import org.junit.Test; [echo] [echo] import static org.junit.Assert.assertEquals; [echo] import static org.junit.Assert.assertTrue; [echo] [echo] /** [echo] * From Excel documentation at https://support.office.com/en-us/article/geomean-function-db1ac48d-25a5-40a0-ab83-0b38980e40d5: [echo] * 1. Arguments can either be numbers or names, arrays, or references that contain numbers. [echo] * 2. Logical values and text representations of numbers that you type directly into the list of arguments are counted. [echo] * 3. If an array or reference argument contains text, logical values, or empty cells, those values are ignored; however, cells with the value zero are included. [echo] * 4. Arguments that are error values or text that cannot be translated into numbers cause errors. [echo] * 5. If any data point ≤ 0, GEOMEAN returns the #NUM! error value. [echo] * [echo] * Remarks: [echo] * Actually, 5. is not true. If an error is encountered before a 0 value, the error is returned. [echo] */ [echo] public class TestGeomean { [echo] @Test [echo] public void acceptanceTest() { [echo] Function geomean = getInstance(); [echo] [echo] final ValueEval result = geomean.evaluate(new ValueEval[]{new NumberEval(2), new NumberEval(3)}, 0, 0); [echo] verifyNumericResult(2.449489742783178, result); [echo] } [echo] [echo] @Test [echo] public void booleansByValueAreCoerced() { [echo] final ValueEval[] args = {BoolEval.TRUE}; [echo] final ValueEval result = getInstance().evaluate(args, 0, 0); [echo] verifyNumericResult(1.0, result); [echo] } [echo] [echo] @Test [echo] public void stringsByValueAreCoerced() { [echo] final ValueEval[] args = {new StringEval("2")}; [echo] final ValueEval result = getInstance().evaluate(args, 0, 0); [echo] verifyNumericResult(2.0, result); [echo] } [echo] [echo] @Test [echo] public void nonCoerceableStringsByValueCauseValueInvalid() { [echo] final ValueEval[] args = {new StringEval("foo")}; [echo] final ValueEval result = getInstance().evaluate(args, 0, 0); [echo] assertEquals(ErrorEval.VALUE_INVALID, result); [echo] } [echo] [echo] @Test BUILD FAILED <https://builds.apache.org/job/POI-DSL-1.8/ws/build.xml>:2192: condition satisfied Total time: 18 minutes 20 seconds Build step 'Invoke Ant' marked build as failure Skipping publisher since build result is FAILURE Archiving artifacts [Fast Archiver] Compressed 243.99 MB of artifacts by 39.8% relative to #600 Skipping publisher since build result is FAILURE Recording test results --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
