See <https://builds.apache.org/job/POI/1413/changes>

Changes:

[onealj] bug 59788: move DefaultTempFileCreationStrategy from TempFile inner 
class to its own class

[kiwiwings] javadocs fixes (jdk8)

[onealj] whitespace

[onealj] make class attributes final; return unmodifiable lists

[onealj] revert whitespace changes to ASF license; previous commit r1751180 
contributed by sebb

[onealj] bug 59786: fix NPE from winmail.dat files if message body is null

[onealj] whitespace (3 spaces and tabs to 4 spaces)

[onealj] uncomment ignored unit tests so they at least compile

[onealj] bug 59788: create temporary directories

------------------------------------------
[...truncated 3867 lines...]
  [javadoc] Loading source files for package org.apache.poi.hmef.dev...
  [javadoc] Loading source files for package org.apache.poi.hmef.extractor...
  [javadoc] Loading source files for package org.apache.poi.hpbf...
  [javadoc] Loading source files for package org.apache.poi.hpbf.dev...
  [javadoc] Loading source files for package org.apache.poi.hpbf.extractor...
  [javadoc] Loading source files for package org.apache.poi.hpbf.model...
  [javadoc] Loading source files for package org.apache.poi.hpbf.model.qcbits...
  [javadoc] Loading source files for package org.apache.poi.hslf.blip...
  [javadoc] Loading source files for package org.apache.poi.hslf.dev...
  [javadoc] Loading source files for package org.apache.poi.hslf.exceptions...
  [javadoc] Loading source files for package org.apache.poi.hslf.extractor...
  [javadoc] Loading source files for package org.apache.poi.hslf.model...
  [javadoc] Loading source files for package 
org.apache.poi.hslf.model.textproperties...
  [javadoc] Loading source files for package org.apache.poi.hslf.record...
  [javadoc] Loading source files for package org.apache.poi.hslf.usermodel...
  [javadoc] Loading source files for package org.apache.poi.hslf.util...
  [javadoc] Loading source files for package org.apache.poi.hsmf...
  [javadoc] Loading source files for package org.apache.poi.hsmf.datatypes...
  [javadoc] Loading source files for package org.apache.poi.hsmf.dev...
  [javadoc] Loading source files for package org.apache.poi.hsmf.exceptions...
  [javadoc] Loading source files for package org.apache.poi.hsmf.extractor...
  [javadoc] Loading source files for package org.apache.poi.hsmf.parsers...
  [javadoc] Loading source files for package org.apache.poi.hssf.converter...
  [javadoc] Loading source files for package org.apache.poi.hwmf.draw...
  [javadoc] Loading source files for package org.apache.poi.hwmf.record...
  [javadoc] Loading source files for package org.apache.poi.hwmf.usermodel...
  [javadoc] Loading source files for package org.apache.poi.hwpf...
  [javadoc] Loading source files for package org.apache.poi.hwpf.converter...
  [javadoc] Loading source files for package org.apache.poi.hwpf.dev...
  [javadoc] Loading source files for package org.apache.poi.hwpf.extractor...
  [javadoc] Loading source files for package org.apache.poi.hwpf.model...
  [javadoc] Loading source files for package org.apache.poi.hwpf.model.io...
  [javadoc] Loading source files for package org.apache.poi.hwpf.model.types...
  [javadoc] Loading source files for package org.apache.poi.hwpf.sprm...
  [javadoc] Loading source files for package org.apache.poi.hwpf.usermodel...
  [javadoc] Loading source files for package org.apache.poi.extractor...
  [javadoc] Loading source files for package 
org.apache.poi.openxml4j.exceptions...
  [javadoc] Loading source files for package org.apache.poi.openxml4j.opc...
  [javadoc] Loading source files for package 
org.apache.poi.openxml4j.opc.internal...
  [javadoc] Loading source files for package 
org.apache.poi.openxml4j.opc.internal.marshallers...
  [javadoc] Loading source files for package 
org.apache.poi.openxml4j.opc.internal.unmarshallers...
  [javadoc] Loading source files for package org.apache.poi.openxml4j.util...
  [javadoc] Loading source files for package org.apache.poi.poifs.crypt.agile...
  [javadoc] Loading source files for package org.apache.poi.poifs.crypt.dsig...
  [javadoc] Loading source files for package 
org.apache.poi.poifs.crypt.dsig.facets...
  [javadoc] Loading source files for package 
org.apache.poi.poifs.crypt.dsig.services...
  [javadoc] Loading source files for package org.apache.poi.xdgf.exceptions...
  [javadoc] Loading source files for package org.apache.poi.xdgf.extractor...
  [javadoc] Loading source files for package org.apache.poi.xdgf.geom...
  [javadoc] Loading source files for package org.apache.poi.xdgf.usermodel...
  [javadoc] Loading source files for package 
org.apache.poi.xdgf.usermodel.section...
  [javadoc] Loading source files for package 
org.apache.poi.xdgf.usermodel.section.geometry...
  [javadoc] Loading source files for package 
org.apache.poi.xdgf.usermodel.shape...
  [javadoc] Loading source files for package 
org.apache.poi.xdgf.usermodel.shape.exceptions...
  [javadoc] Loading source files for package org.apache.poi.xdgf.util...
  [javadoc] Loading source files for package org.apache.poi.xdgf.xml...
  [javadoc] Loading source files for package org.apache.poi.xslf.extractor...
  [javadoc] Loading source files for package org.apache.poi.xslf.model...
  [javadoc] Loading source files for package org.apache.poi.xslf.usermodel...
  [javadoc] Loading source files for package org.apache.poi.xslf.util...
  [javadoc] Loading source files for package org.apache.poi.xssf...
  [javadoc] Loading source files for package org.apache.poi.xssf.dev...
  [javadoc] Loading source files for package 
org.apache.poi.xssf.eventusermodel...
  [javadoc] Loading source files for package org.apache.poi.xssf.extractor...
  [javadoc] Loading source files for package org.apache.poi.xssf.model...
  [javadoc] Loading source files for package org.apache.poi.xssf.streaming...
  [javadoc] Loading source files for package org.apache.poi.xssf.usermodel...
  [javadoc] Loading source files for package 
org.apache.poi.xssf.usermodel.charts...
  [javadoc] Loading source files for package 
org.apache.poi.xssf.usermodel.extensions...
  [javadoc] Loading source files for package 
org.apache.poi.xssf.usermodel.helpers...
  [javadoc] Loading source files for package org.apache.poi.xssf.util...
  [javadoc] Loading source files for package org.apache.poi.xwpf.extractor...
  [javadoc] Loading source files for package org.apache.poi.xwpf.model...
  [javadoc] Loading source files for package org.apache.poi.xwpf.usermodel...
  [javadoc] Constructing Javadoc information...
  [javadoc] Standard Doclet version 1.6.0_45
  [javadoc] Building tree for all the packages and classes...
  [javadoc] Building index for all the packages and classes...
  [javadoc] Building index for all classes...
  [javadoc] Patched 1 link injection vulnerable javadocs

jar-src:
      [jar] Building jar: 
<https://builds.apache.org/job/POI/ws/build/dist/maven/poi/poi-3.15-beta3-sources.jar>
      [jar] Building jar: 
<https://builds.apache.org/job/POI/ws/build/dist/maven/poi-scratchpad/poi-scratchpad-3.15-beta3-sources.jar>
      [jar] Building jar: 
<https://builds.apache.org/job/POI/ws/build/dist/maven/poi-ooxml/poi-ooxml-3.15-beta3-sources.jar>
      [jar] Building jar: 
<https://builds.apache.org/job/POI/ws/build/dist/maven/poi-examples/poi-examples-3.15-beta3-sources.jar>
      [jar] Building jar: 
<https://builds.apache.org/job/POI/ws/build/dist/maven/poi-excelant/poi-excelant-3.15-beta3-sources.jar>

-do-jar-check-javadocs-package-list:

-do-jar-create-javadocs-package-list:

jar-javadocs:
     [echo] Building poi javadocs from 
<https://builds.apache.org/job/POI/ws/src/java>
    [mkdir] Created dir: 
<https://builds.apache.org/job/POI/ws/build/tmp/maven-javadocs>
  [javadoc] Generating Javadoc
  [javadoc] Javadoc execution
  [javadoc] Patched 1 link injection vulnerable javadocs
      [jar] Building jar: 
<https://builds.apache.org/job/POI/ws/build/dist/maven/poi/poi-3.15-beta3-javadoc.jar>
     [echo] Building poi-scratchpad javadocs from 
<https://builds.apache.org/job/POI/ws/src/scratchpad/src>
   [delete] Deleting directory 
<https://builds.apache.org/job/POI/ws/build/tmp/maven-javadocs>
    [mkdir] Created dir: 
<https://builds.apache.org/job/POI/ws/build/tmp/maven-javadocs>
  [javadoc] Generating Javadoc
  [javadoc] Javadoc execution
  [javadoc] Patched 1 link injection vulnerable javadocs
      [jar] Building jar: 
<https://builds.apache.org/job/POI/ws/build/dist/maven/poi-scratchpad/poi-scratchpad-3.15-beta3-javadoc.jar>
     [echo] Building poi-ooxml javadocs from 
<https://builds.apache.org/job/POI/ws/src/ooxml/java>
   [delete] Deleting directory 
<https://builds.apache.org/job/POI/ws/build/tmp/maven-javadocs>
    [mkdir] Created dir: 
<https://builds.apache.org/job/POI/ws/build/tmp/maven-javadocs>
  [javadoc] Generating Javadoc
  [javadoc] Javadoc execution
  [javadoc] Patched 1 link injection vulnerable javadocs
      [jar] Building jar: 
<https://builds.apache.org/job/POI/ws/build/dist/maven/poi-ooxml/poi-ooxml-3.15-beta3-javadoc.jar>

assemble:
      [zip] Building zip: 
<https://builds.apache.org/job/POI/ws/build/dist/poi-bin-3.15-beta3-20160704.zip>
      [tar] Building tar: 
<https://builds.apache.org/job/POI/1413/artifact/build/dist/poi-bin-3.15-beta3-20160704.tar.gz>
      [zip] Building zip: 
<https://builds.apache.org/job/POI/ws/build/dist/poi-src-3.15-beta3-20160704.zip>
      [tar] Building tar: 
<https://builds.apache.org/job/POI/1413/artifact/build/dist/poi-src-3.15-beta3-20160704.tar.gz>
     [echo] Creating Maven POMs

maven-poms:
     [copy] Copying 6 files to 
<https://builds.apache.org/job/POI/ws/build/dist/maven>
     [echo] Maven POMs are located in 
<https://builds.apache.org/job/POI/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/ws/build/dist>
     [echo] Use "ant dist-checksum" to create md5/sha1 checksums and GPG 
signatures

findbugs:
    [unzip] Expanding: 
<https://builds.apache.org/job/POI/ws/lib/findbugs-noUpdateChecks-2.0.3.zip> 
into <https://builds.apache.org/job/POI/ws/build/findbugs>
 [findbugs] Executing findbugs FindBugsTask from ant task
 [findbugs] Running FindBugs...
 [findbugs] Warnings generated: 24
 [findbugs] Calculating exit code...
 [findbugs] Setting 'bugs found' flag (1)
 [findbugs] Exit code set to: 1
 [findbugs] Java Result: 1
 [findbugs] Output saved to build/findbugs.xml
     [xslt] Transforming into <https://builds.apache.org/job/POI/ws/build>
     [xslt] Processing 
<https://builds.apache.org/job/POI/ws/build/findbugs.xml> to 
<https://builds.apache.org/job/POI/1413/artifact/build/findbugs.html>
     [xslt] Loading stylesheet 
jar:<https://builds.apache.org/job/POI/ws/build/findbugs/lib/findbugs.jar!/fancy-hist.xsl>

release-notes:
     [copy] Copying 1 file to <https://builds.apache.org/job/POI/ws/build/dist>

rat-check:
    [mkdir] Created dir: <https://builds.apache.org/job/POI/ws/build/rat>
     [echo] 
     [echo] *****************************************************
     [echo] Summary
     [echo] -------
     [echo] Generated at: 2016-07-04T00:49:06+00:00
     [echo] 
     [echo] Notes: 1
     [echo] Binaries: 122
     [echo] Archives: 0
     [echo] Standards: 3470
     [echo] 
     [echo] Apache Licensed: 3469
     [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/ws/src/java/org/apache/poi/util/DefaultTempFileCreationStrategy.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/ws/src/java/org/apache/poi/util/DefaultTempFileCreationStrategy.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/ws/src/java/org/apache/poi/util/DefaultTempFileCreationStrategy.java>
     [echo] =====================================================
     [echo] package org.apache.poi.util;
     [echo] 
     [echo] import java.io.File;
     [echo] import java.io.IOException;
     [echo] import java.security.SecureRandom;
     [echo] 
     [echo] /**
     [echo]  * Default implementation of the {@link TempFileCreationStrategy} 
used by {@link TempFile}:
     [echo]  * Files are collected into one directory and by default are 
deleted on exit from the VM.
     [echo]  * Files may be manually deleted by user prior to JVM exit.
     [echo]  * Files can be kept by defining the system property {@link 
#KEEP_FILES}.
     [echo]  */
     [echo] public class DefaultTempFileCreationStrategy implements 
TempFileCreationStrategy {
     [echo]     /** Define a constant for this property as it is sometimes 
mistypes as "tempdir" otherwise */
     [echo]     private static final String JAVA_IO_TMPDIR = 
TempFile.JAVA_IO_TMPDIR;
     [echo]     /** To keep files after JVM exit, set the 
<code>-Dpoi.keep.tmp.files</code> JVM property */
     [echo]     public static final String KEEP_FILES = "poi.keep.tmp.files";
     [echo]     
     [echo]     /** The directory where the temporary files will be created 
(<code>null</code> to use the default directory). */
     [echo]     private File dir;
     [echo]     
     [echo]     /**
     [echo]      * Creates the strategy so that it creates the temporary files 
in the default directory.
     [echo]      * 
     [echo]      * @see File#createTempFile(String, String)
     [echo]      */
     [echo]     public DefaultTempFileCreationStrategy() {
     [echo]         this(null);
     [echo]     }
     [echo]     
     [echo]     /**
     [echo]      * Creates the strategy allowing to set the  
     [echo]      *
     [echo]      * @param dir The directory where the temporary files will be 
created (<code>null</code> to use the default directory).
     [echo]      * 
     [echo]      * @see File#createTempFile(String, String, File)
     [echo]      */
     [echo]     public DefaultTempFileCreationStrategy(File dir) {
     [echo]         this.dir = dir;
     [echo]     }
     [echo]     
     [echo]     private void createPOIFilesDirectory() throws IOException {
     [echo]         // Identify and create our temp dir, if needed
     [echo]         // The directory is not deleted, even if it was created by 
this TempFileCreationStrategy
     [echo]         if (dir == null) {
     [echo]             String tmpDir = System.getProperty(JAVA_IO_TMPDIR);
     [echo]             if (tmpDir == null) {
     [echo]                 throw new IOException("Systems temporary directory 
not defined - set the -D"+JAVA_IO_TMPDIR+" jvm property!");
     [echo]             }
     [echo]             dir = new File(tmpDir, "poifiles");

BUILD FAILED
<https://builds.apache.org/job/POI/ws/build.xml>:2027: condition satisfied

Total time: 20 minutes 27 seconds
Build step 'Invoke Ant' marked build as failure
[FINDBUGS] Skipping publisher since build result is FAILURE
[WARNINGS] Skipping publisher since build result is FAILURE
Archiving artifacts
Compressed 210.52 MB of artifacts by 59.5% relative to #1412
Recording test results

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

Reply via email to