Re: Copying chart

2018-08-23 Thread Alain FAGOT BÉAREZ
Hi FD,

Did you base your patch on 3.17 sources or on current GitHub mirror?

Cloning a Chart in XSLF was not only a matter of cloning some XML hierarchy. 
Some magic was involved at the relationships level. Maybe with the introduction 
of the XDDF package some parts of the magic have been made available.

I must confess I had the same motivation as yourself, but with Charts in 
slides. However I didn't have time and a project to explore the best way to do 
it also for Charts in XSSF and XWPF.

Your code is welcome! Even better if you could open a pull request on 
https://github.com/apache/poi as it is easier for us to review and bring it to 
our machines and run local tests.

Thanks for your collaboration!

Best regards,
Alain FAGOT BÉAREZ



⁣Gesendet mit BlueMail ​


 Originale Nachricht 
Von: "monnomiznog...@gmail.com" 
Gesendet: Thu Aug 23 18:29:09 GMT-03:00 2018
An: dev@poi.apache.org
Betreff: Copying chart

Guys,

You cannot ask even from advanced developers to create a chart from scratch 
with java code or any other code type.

Copying a chart from an existing model Excel file is needed in any real life 
reporting project.

I've tinkered with the code and found a simple way to do it. I just needed 
access to 2 private variables in XSSFChart class.

If I paste the test code could you implement the copy chart method somewhere in 
the library ?

Re
FD

-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org


Re: Copying chart

2018-08-23 Thread Dave Fisher
Hi -

You should create a Bugzilla and attach your patch.

Regards,
Dave

> On Aug 23, 2018, at 2:29 PM, monnomiznog...@gmail.com wrote:
> 
> Guys,
> 
> You cannot ask even from advanced developers to create a chart from scratch 
> with java code or any other code type.
> 
> Copying a chart from an existing model Excel file is needed in any real life 
> reporting project.
> 
> I've tinkered with the code and found a simple way to do it. I just needed 
> access to 2 private variables in XSSFChart class.
> 
> If I paste the test code could you implement the copy chart method somewhere 
> in the library ?
> 
> Re
> FD
> 
> -
> To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
> For additional commands, e-mail: dev-h...@poi.apache.org
> 



signature.asc
Description: Message signed with OpenPGP


Copying chart

2018-08-23 Thread monnomiznogoud
Guys,

You cannot ask even from advanced developers to create a chart from scratch 
with java code or any other code type.

Copying a chart from an existing model Excel file is needed in any real life 
reporting project.

I've tinkered with the code and found a simple way to do it. I just needed 
access to 2 private variables in XSSFChart class.

If I paste the test code could you implement the copy chart method somewhere in 
the library ?

Re
FD

-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



Re: XSSFCellBorder.equals

2018-08-23 Thread monnomiznogoud
Hi Dominik,

I've already implemented a solution. I've modified 2 files StylesTable.java and 
XSSFCellBorder.java

A simple solution really. If you're interested I could send you the modified 
files.

FD

On 2018/08/23 08:55:54, Dominik Stadler  wrote: 
> Yes, this is inefficient in some cases, this is already handled in
> https://bz.apache.org/bugzilla/show_bug.cgi?id=54593 there were some
> discussion about possible changes but unfortunately no full solution yet.
> 
> Dominik.
> 
> On Sat, Aug 18, 2018 at 10:22 PM monnomiznog...@gmail.com <
> monnomiznog...@gmail.com> wrote:
> 
> > Hi,
> > A bit surprised by the inefficiency of some elements in XSSF.
> >
> > Take for example XSSFCellBorder.equals method:
> >
> > public boolean equals(Object o) {
> > if (!(o instanceof XSSFCellBorder)) return false;
> >
> > XSSFCellBorder cf = (XSSFCellBorder) o;
> > return border.toString().equals(cf.getCTBorder().toString());
> > }
> >
> > I created an .xlsx file with 12000+ cells, with borders. This means the
> > library calls StylesTable.putBorder some 96000 times (12000 * 4 * 2, 12000
> > cells, 4 borders, and 2 calls per border style + color)
> >
> > putBorder calls "indexOf" on the borders list, and so indexOf calls
> > XSSFCellBorder.equals for every element in the borders list.
> >
> > The equals method tests 2 strings constructed from complex XML objects.
> >
> > Writing the file takes 3 minutes !
> >
> > With SmartXLS it takes less than 3 seconds.
> >
> > Do you think this behavior could be modified somehow ?
> >
> > Regards
> > FD
> >
> > -
> > 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



Build failed in Jenkins: POI-DSL-Windows-1.8 #260

2018-08-23 Thread Apache Jenkins Server
See 


Changes:

[centic] Exclude some test-suites in build.gradle to not execute tests multiple 
times

[centic] Update JaCoCo to 0.8.2 in build.gradle to make it work with JDK 10+

[centic] Adjust for JDK 11 ea-26 build, need to add jaxb via normal jar 
dependency now as it was removed from the JDK
Also needed to remove a few uses of Mockito which fail now with certain 
abstract classes
Update to Mockito 2.21

[centic] Remove some IDE warnings

[centic] Update to latest Mockito 2.21

[centic] Add staging repo in one more place in Gradle build to make compile 
succeed on a fresh machine

--
[...truncated 199.26 KB...]
[junit] Tests run: 50, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.915 sec
[junit] Running org.apache.poi.xssf.streaming.TestSXSSFSheetAutoSizeColumn
[junit] Tests run: 26, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.271 sec
[junit] Running org.apache.poi.xssf.streaming.TestSXSSFUnicodeSurrogates
[junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.034 sec
[junit] Running org.apache.poi.xssf.streaming.TestSXSSFWorkbook
[junit] Tests run: 37, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 
1.352 sec
[junit] Running 
org.apache.poi.xssf.streaming.TestSXSSFWorkbookWithCustomZipEntrySource
[junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.139 sec
[junit] Running org.apache.poi.xssf.streaming.TestSheetDataWriter
[junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.018 sec
[junit] Running org.apache.poi.xssf.usermodel.TestFormulaEvaluatorOnXSSF
[junit] Tests run: 369, Failures: 0, Errors: 0, Skipped: 90, Time elapsed: 
2.005 sec
[junit] Running 
org.apache.poi.xssf.usermodel.TestMatrixFormulasFromXMLSpreadsheet
[junit] Tests run: 34, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.152 sec
[junit] Running org.apache.poi.xssf.usermodel.TestMissingWorkbookOnXSSF
[junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.072 sec
[junit] Running 
org.apache.poi.xssf.usermodel.TestMultiSheetFormulaEvaluatorOnXSSF
[junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.014 sec
[junit] Running org.apache.poi.xssf.usermodel.TestSXSSFBugs
[junit] Tests run: 40, Failures: 0, Errors: 0, Skipped: 8, Time elapsed: 
7.947 sec
[junit] Running org.apache.poi.xssf.usermodel.TestSheetHiding
[junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.103 sec
[junit] Running org.apache.poi.xssf.usermodel.TestTableStyles
[junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.242 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFBugs
[junit] Tests run: 147, Failures: 0, Errors: 0, Skipped: 8, Time elapsed: 
13.452 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFCell
[junit] Tests run: 53, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.888 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFCellStyle
[junit] Tests run: 43, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.364 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFChart
[junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.126 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFChartSheet
[junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.041 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFColGrouping
[junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.08 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFColor
[junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.077 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFComment
[junit] Tests run: 19, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 
0.348 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFConditionalFormatting
[junit] Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.335 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFDataFormat
[junit] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.102 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFDataValidation
[junit] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.419 sec
[junit] Running 
org.apache.poi.xssf.usermodel.TestXSSFDataValidationConstraint
[junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.015 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFDialogSheet
[junit] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.098 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFDrawing
[junit] Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.436 sec
 

Build failed in Jenkins: POI-DSL-1.10 #30

2018-08-23 Thread Apache Jenkins Server
See 


Changes:

[centic] Exclude some test-suites in build.gradle to not execute tests multiple 
times

[centic] Update JaCoCo to 0.8.2 in build.gradle to make it work with JDK 10+

[centic] Adjust for JDK 11 ea-26 build, need to add jaxb via normal jar 
dependency now as it was removed from the JDK
Also needed to remove a few uses of Mockito which fail now with certain 
abstract classes
Update to Mockito 2.21

[centic] Remove some IDE warnings

[centic] Update to latest Mockito 2.21

[centic] Add staging repo in one more place in Gradle build to make compile 
succeed on a fresh machine

[centic] Disable some machines that do not yet have JDK 11 installed

[centic] Adjust version of commons-collections4 in the doc, re-generate 
changes.html with some more entries

[centic] Try to make target "docs" work on Windows again

[centic] Adjust job for JDK 11 to not require module java.xml.bind any more

[fanningpj] [github-122] XWPF: Set table and table cell widths to percentage, 
twips, or auto. This closes #122

[fanningpj] [bug-62639] make private constructor on DateFormatter public

[fanningpj] allow access to apache staging repo

[fanningpj] uptake xmlbeans 3.0.1 (staging version, pre-release)

--
[...truncated 205.36 KB...]
[junit] Tests run: 50, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.419 sec
[junit] Running org.apache.poi.xssf.streaming.TestSXSSFSheetAutoSizeColumn
[junit] Tests run: 26, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.075 sec
[junit] Running org.apache.poi.xssf.streaming.TestSXSSFUnicodeSurrogates
[junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.011 sec
[junit] Running org.apache.poi.xssf.streaming.TestSXSSFWorkbook
[junit] Tests run: 37, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 
0.704 sec
[junit] Running 
org.apache.poi.xssf.streaming.TestSXSSFWorkbookWithCustomZipEntrySource
[junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.044 sec
[junit] Running org.apache.poi.xssf.streaming.TestSheetDataWriter
[junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.002 sec
[junit] Running org.apache.poi.xssf.usermodel.TestFormulaEvaluatorOnXSSF
[junit] Tests run: 369, Failures: 0, Errors: 0, Skipped: 90, Time elapsed: 
0.37 sec
[junit] Running 
org.apache.poi.xssf.usermodel.TestMatrixFormulasFromXMLSpreadsheet
[junit] Tests run: 34, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.098 sec
[junit] Running org.apache.poi.xssf.usermodel.TestMissingWorkbookOnXSSF
[junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.023 sec
[junit] Running 
org.apache.poi.xssf.usermodel.TestMultiSheetFormulaEvaluatorOnXSSF
[junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.004 sec
[junit] Running org.apache.poi.xssf.usermodel.TestSXSSFBugs
[junit] Tests run: 40, Failures: 0, Errors: 0, Skipped: 8, Time elapsed: 
2.717 sec
[junit] Running org.apache.poi.xssf.usermodel.TestSheetHiding
[junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.064 sec
[junit] Running org.apache.poi.xssf.usermodel.TestTableStyles
[junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.25 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFBugs
[junit] Tests run: 147, Failures: 0, Errors: 0, Skipped: 8, Time elapsed: 
6.452 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFCell
[junit] Tests run: 53, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.517 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFCellStyle
[junit] Tests run: 43, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.147 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFChart
[junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.066 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFChartSheet
[junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.023 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFColGrouping
[junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.038 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFColor
[junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.038 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFComment
[junit] Tests run: 19, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 
0.149 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFConditionalFormatting
[junit] Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.103 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFDataFormat
[junit] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.039 sec
[junit] Running 

Re: [RESULT] [VOTE] Apache XMLBeans 3.0.1 release (RC1)

2018-08-23 Thread Andreas Beeker
Hi PJ,

> I'd prefer not to wait for INFRA-14923. Even Sonatype's Nexus only adds md5
> and sha1 digests.
ACK to not wait for INFRA, but for nexus, I thought you have to provide the 
hashes in the upload?! -
at least that's what the POI release script is doing.
So you haven't generated the  *.asc.md5, *.asc.sha1 files? If you had, please 
prepare the nexus
repo without those.

> We have complete control over what gets added to
> https://archive.apache.org/dist/poi/release/ ...
ACK.

So what's left for the release to be finished is:
a) replace the old (3.0.0) dist files with the new one in 
https://dist.apache.org/repos/dist/release/poi/xmlbeans/release/
b) register the new version - you'll receive an automatic mail, when committing 
to the release directory
c) release the nexus staging repo
d) update the doap file
e) update the website
f) announce the release

which part will you do?

Andi




signature.asc
Description: OpenPGP digital signature


Build failed in Jenkins: POI-DSL-1.9 #105

2018-08-23 Thread Apache Jenkins Server
See 


Changes:

[centic] Exclude some test-suites in build.gradle to not execute tests multiple 
times

[centic] Update JaCoCo to 0.8.2 in build.gradle to make it work with JDK 10+

[centic] Adjust for JDK 11 ea-26 build, need to add jaxb via normal jar 
dependency now as it was removed from the JDK
Also needed to remove a few uses of Mockito which fail now with certain 
abstract classes
Update to Mockito 2.21

[centic] Remove some IDE warnings

[centic] Update to latest Mockito 2.21

[centic] Add staging repo in one more place in Gradle build to make compile 
succeed on a fresh machine

[centic] Disable some machines that do not yet have JDK 11 installed

[centic] Adjust version of commons-collections4 in the doc, re-generate 
changes.html with some more entries

[centic] Try to make target "docs" work on Windows again

[centic] Adjust job for JDK 11 to not require module java.xml.bind any more

[fanningpj] [github-122] XWPF: Set table and table cell widths to percentage, 
twips, or auto. This closes #122

[fanningpj] [bug-62639] make private constructor on DateFormatter public

[fanningpj] allow access to apache staging repo

--
[...truncated 573.84 KB...]
[junit] Tests run: 50, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.491 sec
[junit] Running org.apache.poi.xssf.streaming.TestSXSSFSheetAutoSizeColumn
[junit] Tests run: 26, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.131 sec
[junit] Running org.apache.poi.xssf.streaming.TestSXSSFUnicodeSurrogates
[junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.014 sec
[junit] Running org.apache.poi.xssf.streaming.TestSXSSFWorkbook
[junit] Tests run: 37, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 
0.634 sec
[junit] Running 
org.apache.poi.xssf.streaming.TestSXSSFWorkbookWithCustomZipEntrySource
[junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.06 sec
[junit] Running org.apache.poi.xssf.streaming.TestSheetDataWriter
[junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.004 sec
[junit] Running org.apache.poi.xssf.usermodel.TestFormulaEvaluatorOnXSSF
[junit] Tests run: 369, Failures: 0, Errors: 0, Skipped: 90, Time elapsed: 
0.46 sec
[junit] Running 
org.apache.poi.xssf.usermodel.TestMatrixFormulasFromXMLSpreadsheet
[junit] Tests run: 34, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.122 sec
[junit] Running org.apache.poi.xssf.usermodel.TestMissingWorkbookOnXSSF
[junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.031 sec
[junit] Running 
org.apache.poi.xssf.usermodel.TestMultiSheetFormulaEvaluatorOnXSSF
[junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.004 sec
[junit] Running org.apache.poi.xssf.usermodel.TestSXSSFBugs
[junit] Tests run: 40, Failures: 0, Errors: 0, Skipped: 8, Time elapsed: 
3.79 sec
[junit] Running org.apache.poi.xssf.usermodel.TestSheetHiding
[junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.085 sec
[junit] Running org.apache.poi.xssf.usermodel.TestTableStyles
[junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.308 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFBugs
[junit] Tests run: 147, Failures: 0, Errors: 0, Skipped: 8, Time elapsed: 
7.998 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFCell
[junit] Tests run: 53, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.671 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFCellStyle
[junit] Tests run: 43, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.191 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFChart
[junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.089 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFChartSheet
[junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.032 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFColGrouping
[junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.052 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFColor
[junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.05 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFComment
[junit] Tests run: 19, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 
0.192 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFConditionalFormatting
[junit] Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.152 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFDataFormat
[junit] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.051 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFDataValidation
[junit] Tests run: 9, 

Build failed in Jenkins: POI-DSL-1.8 #505

2018-08-23 Thread Apache Jenkins Server
See 


Changes:

[centic] Exclude some test-suites in build.gradle to not execute tests multiple 
times

[centic] Update JaCoCo to 0.8.2 in build.gradle to make it work with JDK 10+

[centic] Adjust for JDK 11 ea-26 build, need to add jaxb via normal jar 
dependency now as it was removed from the JDK
Also needed to remove a few uses of Mockito which fail now with certain 
abstract classes
Update to Mockito 2.21

[centic] Remove some IDE warnings

[centic] Update to latest Mockito 2.21

[centic] Add staging repo in one more place in Gradle build to make compile 
succeed on a fresh machine

--
[...truncated 200.64 KB...]
[junit] Tests run: 50, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.38 sec
[junit] Running org.apache.poi.xssf.streaming.TestSXSSFSheetAutoSizeColumn
[junit] Tests run: 26, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.067 sec
[junit] Running org.apache.poi.xssf.streaming.TestSXSSFUnicodeSurrogates
[junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.01 sec
[junit] Running org.apache.poi.xssf.streaming.TestSXSSFWorkbook
[junit] Tests run: 37, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 
0.554 sec
[junit] Running 
org.apache.poi.xssf.streaming.TestSXSSFWorkbookWithCustomZipEntrySource
[junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.056 sec
[junit] Running org.apache.poi.xssf.streaming.TestSheetDataWriter
[junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.003 sec
[junit] Running org.apache.poi.xssf.usermodel.TestFormulaEvaluatorOnXSSF
[junit] Tests run: 369, Failures: 0, Errors: 0, Skipped: 90, Time elapsed: 
0.483 sec
[junit] Running 
org.apache.poi.xssf.usermodel.TestMatrixFormulasFromXMLSpreadsheet
[junit] Tests run: 34, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.104 sec
[junit] Running org.apache.poi.xssf.usermodel.TestMissingWorkbookOnXSSF
[junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.025 sec
[junit] Running 
org.apache.poi.xssf.usermodel.TestMultiSheetFormulaEvaluatorOnXSSF
[junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.003 sec
[junit] Running org.apache.poi.xssf.usermodel.TestSXSSFBugs
[junit] Tests run: 40, Failures: 0, Errors: 0, Skipped: 8, Time elapsed: 
3.873 sec
[junit] Running org.apache.poi.xssf.usermodel.TestSheetHiding
[junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.065 sec
[junit] Running org.apache.poi.xssf.usermodel.TestTableStyles
[junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.212 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFBugs
[junit] Tests run: 147, Failures: 0, Errors: 0, Skipped: 8, Time elapsed: 
9.323 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFCell
[junit] Tests run: 53, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.544 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFCellStyle
[junit] Tests run: 43, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.141 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFChart
[junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.067 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFChartSheet
[junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.023 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFColGrouping
[junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.049 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFColor
[junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.055 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFComment
[junit] Tests run: 19, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 
0.155 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFConditionalFormatting
[junit] Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.101 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFDataFormat
[junit] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.046 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFDataValidation
[junit] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.243 sec
[junit] Running 
org.apache.poi.xssf.usermodel.TestXSSFDataValidationConstraint
[junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.003 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFDialogSheet
[junit] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.024 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFDrawing
[junit] Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.262 sec

Build failed in Jenkins: POI-DSL-OpenJDK #492

2018-08-23 Thread Apache Jenkins Server
See 


Changes:

[centic] Exclude some test-suites in build.gradle to not execute tests multiple 
times

[centic] Update JaCoCo to 0.8.2 in build.gradle to make it work with JDK 10+

[centic] Adjust for JDK 11 ea-26 build, need to add jaxb via normal jar 
dependency now as it was removed from the JDK
Also needed to remove a few uses of Mockito which fail now with certain 
abstract classes
Update to Mockito 2.21

[centic] Remove some IDE warnings

[centic] Update to latest Mockito 2.21

[centic] Add staging repo in one more place in Gradle build to make compile 
succeed on a fresh machine

--
[...truncated 200.65 KB...]
[junit] Tests run: 50, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.392 sec
[junit] Running org.apache.poi.xssf.streaming.TestSXSSFSheetAutoSizeColumn
[junit] Tests run: 26, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.076 sec
[junit] Running org.apache.poi.xssf.streaming.TestSXSSFUnicodeSurrogates
[junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.011 sec
[junit] Running org.apache.poi.xssf.streaming.TestSXSSFWorkbook
[junit] Tests run: 37, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 
0.502 sec
[junit] Running 
org.apache.poi.xssf.streaming.TestSXSSFWorkbookWithCustomZipEntrySource
[junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.049 sec
[junit] Running org.apache.poi.xssf.streaming.TestSheetDataWriter
[junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.003 sec
[junit] Running org.apache.poi.xssf.usermodel.TestFormulaEvaluatorOnXSSF
[junit] Tests run: 369, Failures: 0, Errors: 0, Skipped: 90, Time elapsed: 
0.368 sec
[junit] Running 
org.apache.poi.xssf.usermodel.TestMatrixFormulasFromXMLSpreadsheet
[junit] Tests run: 34, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.088 sec
[junit] Running org.apache.poi.xssf.usermodel.TestMissingWorkbookOnXSSF
[junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.024 sec
[junit] Running 
org.apache.poi.xssf.usermodel.TestMultiSheetFormulaEvaluatorOnXSSF
[junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.003 sec
[junit] Running org.apache.poi.xssf.usermodel.TestSXSSFBugs
[junit] Tests run: 40, Failures: 0, Errors: 0, Skipped: 8, Time elapsed: 
2.598 sec
[junit] Running org.apache.poi.xssf.usermodel.TestSheetHiding
[junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.068 sec
[junit] Running org.apache.poi.xssf.usermodel.TestTableStyles
[junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.218 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFBugs
[junit] Tests run: 147, Failures: 0, Errors: 0, Skipped: 8, Time elapsed: 
6.603 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFCell
[junit] Tests run: 53, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.531 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFCellStyle
[junit] Tests run: 43, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.147 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFChart
[junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.068 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFChartSheet
[junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.025 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFColGrouping
[junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.043 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFColor
[junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.047 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFComment
[junit] Tests run: 19, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 
0.154 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFConditionalFormatting
[junit] Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.103 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFDataFormat
[junit] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.041 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFDataValidation
[junit] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.241 sec
[junit] Running 
org.apache.poi.xssf.usermodel.TestXSSFDataValidationConstraint
[junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.004 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFDialogSheet
[junit] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.032 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFDrawing
[junit] Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.309 sec

Build failed in Jenkins: POI-DSL-1.11 #4

2018-08-23 Thread Apache Jenkins Server
See 

Changes:

[centic] Exclude some test-suites in build.gradle to not execute tests multiple 
times

[centic] Update JaCoCo to 0.8.2 in build.gradle to make it work with JDK 10+

[centic] Adjust for JDK 11 ea-26 build, need to add jaxb via normal jar 
dependency now as it was removed from the JDK
Also needed to remove a few uses of Mockito which fail now with certain 
abstract classes
Update to Mockito 2.21

[centic] Remove some IDE warnings

[centic] Update to latest Mockito 2.21

[centic] Add staging repo in one more place in Gradle build to make compile 
succeed on a fresh machine

--
[...truncated 574.43 KB...]
[junit] Tests run: 50, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.398 sec
[junit] Running org.apache.poi.xssf.streaming.TestSXSSFSheetAutoSizeColumn
[junit] Tests run: 26, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.101 sec
[junit] Running org.apache.poi.xssf.streaming.TestSXSSFUnicodeSurrogates
[junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.012 sec
[junit] Running org.apache.poi.xssf.streaming.TestSXSSFWorkbook
[junit] Tests run: 37, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 
0.598 sec
[junit] Running 
org.apache.poi.xssf.streaming.TestSXSSFWorkbookWithCustomZipEntrySource
[junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.051 sec
[junit] Running org.apache.poi.xssf.streaming.TestSheetDataWriter
[junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.003 sec
[junit] Running org.apache.poi.xssf.usermodel.TestFormulaEvaluatorOnXSSF
[junit] Tests run: 369, Failures: 0, Errors: 0, Skipped: 90, Time elapsed: 
0.448 sec
[junit] Running 
org.apache.poi.xssf.usermodel.TestMatrixFormulasFromXMLSpreadsheet
[junit] Tests run: 34, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.109 sec
[junit] Running org.apache.poi.xssf.usermodel.TestMissingWorkbookOnXSSF
[junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.031 sec
[junit] Running 
org.apache.poi.xssf.usermodel.TestMultiSheetFormulaEvaluatorOnXSSF
[junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.005 sec
[junit] Running org.apache.poi.xssf.usermodel.TestSXSSFBugs
[junit] Tests run: 40, Failures: 0, Errors: 0, Skipped: 8, Time elapsed: 
2.825 sec
[junit] Running org.apache.poi.xssf.usermodel.TestSheetHiding
[junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.079 sec
[junit] Running org.apache.poi.xssf.usermodel.TestTableStyles
[junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.26 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFBugs
[junit] Tests run: 147, Failures: 0, Errors: 0, Skipped: 8, Time elapsed: 
7.523 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFCell
[junit] Tests run: 53, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.607 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFCellStyle
[junit] Tests run: 43, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.164 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFChart
[junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.079 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFChartSheet
[junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.026 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFColGrouping
[junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.046 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFColor
[junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.043 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFComment
[junit] Tests run: 19, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 
0.171 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFConditionalFormatting
[junit] Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.119 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFDataFormat
[junit] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.045 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFDataValidation
[junit] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.253 sec
[junit] Running 
org.apache.poi.xssf.usermodel.TestXSSFDataValidationConstraint
[junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.004 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFDialogSheet
[junit] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.034 sec
[junit] Running org.apache.poi.xssf.usermodel.TestXSSFDrawing
[junit] Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.314 sec
[junit] 

[Bug 62651] New: setting setDisplayGridlines(false) on the first sheet causes all sheets to hide their gridlines

2018-08-23 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62651

Bug ID: 62651
   Summary: setting setDisplayGridlines(false) on the first sheet
causes all sheets to hide their gridlines
   Product: POI
   Version: 3.17-FINAL
  Hardware: PC
OS: Linux
Status: NEW
  Severity: normal
  Priority: P2
 Component: SXSSF
  Assignee: dev@poi.apache.org
  Reporter: diarmuidke...@gmail.com
  Target Milestone: ---

In a SXSSFWorkbook with multiple SXSSFSheet :


Action : calling sxssfSheet.setDisplayGridlines(false) on 2nd or subsequent
sheets in workbook 
Expectation  : only those sheets set as above should have their gridlines
hidden
Result: Behaves as Expected 

Action : calling sxssfSheet.setDisplayGridlines(false) only on 1st sheet in
workbook 
Expectation  : only 1st sheet should have it's gridlines hidden
Result: Does not behave as expected . All sheets in workbook have their
gridlines hidden 



Summary 
calling sxssfSheet.setDisplayGridlines(false) behaves as expected if sxssfSheet
is not the first sheet in the workbook 
Otherwise all sheets' gridlines will be hidden

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



Build failed in Jenkins: POI-DSL-OpenJDK #491

2018-08-23 Thread Apache Jenkins Server
ld/distsourcebuild/poi-4.0.0-SNAPSHOT/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFTable.java>:422:
 warning - @param argument "ha" is not a parameter name.
  [javadoc] 
<https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/distsourcebuild/poi-4.0.0-SNAPSHOT/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFTable.java>:1184:
 warning - Tag @link: reference not found: STTblWidth.Enum
  [javadoc] 
<https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/distsourcebuild/poi-4.0.0-SNAPSHOT/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFTableCell.java>:538:
 warning - Tag @link: reference not found: STTblWidth.Enum
  [javadoc] 
<https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/distsourcebuild/poi-4.0.0-SNAPSHOT/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFTableCell.java>:538:
 warning - Tag @link: reference not found: STTblWidth.Enum
  [javadoc] 
<https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/distsourcebuild/poi-4.0.0-SNAPSHOT/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:4091:
 warning - Tag @link: reference not found: #createTable(AreaReference))
  [javadoc] 
<https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/distsourcebuild/poi-4.0.0-SNAPSHOT/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFRun.java>:675:
 warning - Tag @link: reference not found: XWPFRun.getVerticalAlignment
  [javadoc] 
<https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/distsourcebuild/poi-4.0.0-SNAPSHOT/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFTable.java>:1184:
 warning - Tag @link: reference not found: STTblWidth.Enum
  [javadoc] 
<https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/distsourcebuild/poi-4.0.0-SNAPSHOT/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFTableCell.java>:538:
 warning - Tag @link: reference not found: STTblWidth.Enum
  [javadoc] 
<https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/distsourcebuild/poi-4.0.0-SNAPSHOT/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java>:4091:
 warning - Tag @link: reference not found: #createTable(AreaReference))
  [javadoc] 
<https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/distsourcebuild/poi-4.0.0-SNAPSHOT/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFRun.java>:675:
 warning - Tag @link: reference not found: XWPFRun.getVerticalAlignment
  [javadoc] 46 warnings
  [jar] Building jar: 
<https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/distsourcebuild/poi-4.0.0-SNAPSHOT/build/dist/maven/poi-ooxml/poi-ooxml-4.0.0-SNAPSHOT-javadoc.jar>

assemble:
  [zip] Building zip: 
<https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/distsourcebuild/poi-4.0.0-SNAPSHOT/build/dist/poi-bin-4.0.0-SNAPSHOT-20180823.zip>
  [tar] Building tar: 
<https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/distsourcebuild/poi-4.0.0-SNAPSHOT/build/dist/poi-bin-4.0.0-SNAPSHOT-20180823.tar.gz>
  [zip] Building zip: 
<https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/distsourcebuild/poi-4.0.0-SNAPSHOT/build/dist/poi-src-4.0.0-SNAPSHOT-20180823.zip>
  [tar] Building tar: 
<https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/distsourcebuild/poi-4.0.0-SNAPSHOT/build/dist/poi-src-4.0.0-SNAPSHOT-20180823.tar.gz>
 [echo] Creating Maven POMs

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

runCompileTest:
   [delete] Deleting directory 
<https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/distsourcebuild>
[mkdir] Created dir: 
<https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/distsourcebuild>
 [echo] Found jar packages at 
<https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/dist/maven/poi-ooxml-schemas/poi-ooxml-schemas-4.0.0-SNAPSHOT.jar>:<https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/dist/maven/poi-ooxml/poi-ooxml-4.0.0-SNAPSHOT.jar>:<https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/dist/maven/poi/poi-4.0.0-SNAPSHOT.jar,>
 dist: ../../build/dist
 [echo] Compiling examples without linking to scratchpad.jar to ensure that 
only some specific ones require this jar
[javac] Compiling 137 source files to 
<https://builds.apache.org/job/POI-DSL-OpenJDK/ws/build/distsourcebuild>
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for detail

Re: [RESULT] [VOTE] Apache XMLBeans 3.0.1 release (RC1)

2018-08-23 Thread pj.fanning
I'd prefer not to wait for INFRA-14923. Even Sonatype's Nexus only adds md5
and sha1 digests.
These are generated by Nexus, as opposed to publisher's adding their own
digest files.
I have done some checking on maven central and in the cross section I
checked, no jars had sha256 or sha512 digests.

We have complete control over what gets added to
https://archive.apache.org/dist/poi/release/ and we can definitely use
sha256 and sha512 digests there. 




--
Sent from: http://apache-poi.1045710.n5.nabble.com/POI-Dev-f2312866.html

-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



Build failed in Jenkins: POI-DSL-1.11 #3

2018-08-23 Thread Apache Jenkins Server
See 

Changes:

[centic] Disable some machines that do not yet have JDK 11 installed

--
[...truncated 25.51 KB...]
[javac] ^
[javac] 
:23:
 error: package javax.xml.bind.annotation does not exist
[javac] import javax.xml.bind.annotation.XmlType;
[javac] ^
[javac] 
:46:
 error: cannot find symbol
[javac] @XmlAccessorType(XmlAccessType.FIELD)
[javac]  ^
[javac]   symbol: class XmlAccessorType
[javac] 
:47:
 error: cannot find symbol
[javac] @XmlType(name = "CT_GeomRect")
[javac]  ^
[javac]   symbol: class XmlType
[javac] 
:22:
 error: package javax.xml.bind.annotation does not exist
[javac] import javax.xml.bind.annotation.XmlAccessType;
[javac] ^
[javac] 
:23:
 error: package javax.xml.bind.annotation does not exist
[javac] import javax.xml.bind.annotation.XmlAccessorType;
[javac] ^
[javac] 
:24:
 error: package javax.xml.bind.annotation does not exist
[javac] import javax.xml.bind.annotation.XmlType;
[javac] ^
[javac] 
:46:
 error: cannot find symbol
[javac] @XmlAccessorType(XmlAccessType.FIELD)
[javac]  ^
[javac]   symbol: class XmlAccessorType
[javac] 
:47:
 error: cannot find symbol
[javac] @XmlType(name = "CT_Path2DList", propOrder = {
[javac]  ^
[javac]   symbol: class XmlType
[javac] 
:22:
 error: package javax.xml.bind.annotation does not exist
[javac] import javax.xml.bind.annotation.XmlAccessType;
[javac] ^
[javac] 
:23:
 error: package javax.xml.bind.annotation does not exist
[javac] import javax.xml.bind.annotation.XmlAccessorType;
[javac] ^
[javac] 
:24:
 error: package javax.xml.bind.annotation does not exist
[javac] import javax.xml.bind.annotation.XmlAttribute;
[javac] ^
[javac] 
:25:
 error: package javax.xml.bind.annotation does not exist
[javac] import javax.xml.bind.annotation.XmlElement;
[javac] ^
[javac] 
:26:
 error: package javax.xml.bind.annotation does not exist
[javac] import javax.xml.bind.annotation.XmlElements;
[javac] ^
[javac] 
:27:
 error: package javax.xml.bind.annotation does not exist
[javac] import javax.xml.bind.annotation.XmlType;
[javac] ^
[javac] 
:59:
 error: cannot find symbol
[javac] @XmlAccessorType(XmlAccessType.FIELD)
[javac]  ^
[javac]   symbol: class XmlAccessorType
[javac] 
:60:
 error: cannot find symbol
[javac] @XmlType(name = "CT_Path2D", propOrder = {
[javac]  ^
[javac]   symbol: class XmlType
[javac] 
:20:
 error: package javax.xml.bind.annotation does not exist
[javac] import javax.xml.bind.annotation.XmlEnum;
[javac] ^
[javac] 

Build failed in Jenkins: POI-DSL-1.11 #2

2018-08-23 Thread Apache Jenkins Server
See 

Changes:

[centic] Adjust version of commons-collections4 in the doc, re-generate 
changes.html with some more entries

[centic] Try to make target "docs" work on Windows again

[centic] Adjust job for JDK 11 to not require module java.xml.bind any more

[fanningpj] [github-122] XWPF: Set table and table cell widths to percentage, 
twips, or auto. This closes #122

[fanningpj] [bug-62639] make private constructor on DateFormatter public

--
[...truncated 357.03 KB...]
A maven/poi-ooxml-schemas.pom
A maven/poi.pom
A maven/poi-excelant.pom
AUmaven/mvn-deploy.sh
AUmaven/multisign.sh
A .gitattributes
AUKEYS
A .settings
A .settings/org.moreunit.core.prefs
A .settings/org.eclipse.jdt.core.prefs
A .settings/org.eclipse.jdt.ui.prefs
A .settings/org.moreunit.prefs
A .settings/org.eclipse.core.resources.prefs
 U.

<-- Got one external: forrest.properties, svn url: 
https://svn.apache.org/repos/asf/poi/site/forrest.properties -->
Fetching 'https://svn.apache.org/repos/asf/poi/site/forrest.properties' at -1 
into '
A forrest.properties
At revision 1838704


<-- Got one external: documentation, svn url: 
https://svn.apache.org/repos/asf/poi/site/src/documentation -->
Fetching 'https://svn.apache.org/repos/asf/poi/site/src/documentation' at -1 
into '
AUsrc/documentation/RELEASE-NOTES.txt
A src/documentation/sitemap.xmap
AUsrc/documentation/release-guide.txt
AUsrc/documentation/skinconf.xml
A src/documentation/content
A src/documentation/content/xdocs
AUsrc/documentation/content/xdocs/legal.xml
A src/documentation/content/xdocs/components
A src/documentation/content/xdocs/components/diagram
AUsrc/documentation/content/xdocs/components/diagram/index.xml
AUsrc/documentation/content/xdocs/components/poi-jvm-languages.xml
AUsrc/documentation/content/xdocs/components/logging.xml
AUsrc/documentation/content/xdocs/components/poi-ruby.xml
AUsrc/documentation/content/xdocs/components/index.xml
A src/documentation/content/xdocs/components/spreadsheet
AUsrc/documentation/content/xdocs/components/spreadsheet/diagram1.xml
AUsrc/documentation/content/xdocs/components/spreadsheet/diagrams.xml
AUsrc/documentation/content/xdocs/components/spreadsheet/eval.xml
AUsrc/documentation/content/xdocs/components/spreadsheet/limitations.xml
AUsrc/documentation/content/xdocs/components/spreadsheet/chart.xml
AU
src/documentation/content/xdocs/components/spreadsheet/record-generator.xml
AUsrc/documentation/content/xdocs/components/spreadsheet/excelant.xml
AUsrc/documentation/content/xdocs/components/spreadsheet/formula.xml
AU
src/documentation/content/xdocs/components/spreadsheet/hacking-hssf.xml
AUsrc/documentation/content/xdocs/components/spreadsheet/use-case.xml
AUsrc/documentation/content/xdocs/components/spreadsheet/index.xml
AUsrc/documentation/content/xdocs/components/spreadsheet/quick-guide.xml
AUsrc/documentation/content/xdocs/components/spreadsheet/how-to.xml
AUsrc/documentation/content/xdocs/components/spreadsheet/converting.xml
AUsrc/documentation/content/xdocs/components/spreadsheet/examples.xml
AU
src/documentation/content/xdocs/components/spreadsheet/user-defined-functions.xml
AU
src/documentation/content/xdocs/components/spreadsheet/eval-devguide.xml
A src/documentation/content/xdocs/components/hsmf
AUsrc/documentation/content/xdocs/components/hsmf/index.xml
A src/documentation/content/xdocs/components/oxml4j
AUsrc/documentation/content/xdocs/components/oxml4j/index.xml
A src/documentation/content/xdocs/components/document
AUsrc/documentation/content/xdocs/components/document/projectplan.xml
AUsrc/documentation/content/xdocs/components/document/index.xml
AUsrc/documentation/content/xdocs/components/document/quick-guide.xml
AU
src/documentation/content/xdocs/components/document/quick-guide-xwpf.xml
AUsrc/documentation/content/xdocs/components/document/docoverview.xml
A src/documentation/content/xdocs/components/hmef
AUsrc/documentation/content/xdocs/components/hmef/index.xml
A src/documentation/content/xdocs/components/hpbf
AUsrc/documentation/content/xdocs/components/hpbf/file-format.xml
AUsrc/documentation/content/xdocs/components/hpbf/index.xml
A src/documentation/content/xdocs/components/hpsf
AUsrc/documentation/content/xdocs/components/hpsf/thumbnails.xml
AU

Re: XSSFCellBorder.equals

2018-08-23 Thread Dominik Stadler
Yes, this is inefficient in some cases, this is already handled in
https://bz.apache.org/bugzilla/show_bug.cgi?id=54593 there were some
discussion about possible changes but unfortunately no full solution yet.

Dominik.

On Sat, Aug 18, 2018 at 10:22 PM monnomiznog...@gmail.com <
monnomiznog...@gmail.com> wrote:

> Hi,
> A bit surprised by the inefficiency of some elements in XSSF.
>
> Take for example XSSFCellBorder.equals method:
>
> public boolean equals(Object o) {
> if (!(o instanceof XSSFCellBorder)) return false;
>
> XSSFCellBorder cf = (XSSFCellBorder) o;
> return border.toString().equals(cf.getCTBorder().toString());
> }
>
> I created an .xlsx file with 12000+ cells, with borders. This means the
> library calls StylesTable.putBorder some 96000 times (12000 * 4 * 2, 12000
> cells, 4 borders, and 2 calls per border style + color)
>
> putBorder calls "indexOf" on the borders list, and so indexOf calls
> XSSFCellBorder.equals for every element in the borders list.
>
> The equals method tests 2 strings constructed from complex XML objects.
>
> Writing the file takes 3 minutes !
>
> With SmartXLS it takes less than 3 seconds.
>
> Do you think this behavior could be modified somehow ?
>
> Regards
> FD
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
> For additional commands, e-mail: dev-h...@poi.apache.org
>
>


Re: JAXB error in OpenJDK 10

2018-08-23 Thread Dominik Stadler
For JDK 9 and JDK 10 we can use the --add-modules/--add-opens to
compile/run, see https://poi.apache.org/help/faq.html#faq-N102B0 for
details.

I saw failures when trying JDK 11 because the code is now gone completely.
I have changes prepared locally to add JAXB as normal classpath
dependencies, however JDK 11 still has some other known bugs that cause
failures in our test, see
https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8209682 so I did
not push them yet, however I can try to commit them during the next few
days if we think it is something that we want to include in 4.0.0. This
will include jaxb via classpath for all versions of the JDK to have one
build for all JDKs and thus will also make building/running on JDK 9/10 a
bit easier.

Dominik.

On Thu, Aug 23, 2018 at 12:38 AM pj.fanning  wrote:

> Hi Andi,
>
> Would you be able to put the jaxb build changes in a patch file or in a
> github branch?
>
>
>
> --
> Sent from: http://apache-poi.1045710.n5.nabble.com/POI-Dev-f2312866.html
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
> For additional commands, e-mail: dev-h...@poi.apache.org
>
>