Commit Graph

512 Commits

Author SHA1 Message Date
Dominik Stadler
05570364db Move one testcase with incorrect source location
remove some junit dependencies in example-code
build: do not pass junit-jar to normal compile targets to avoid introducing it as dependency again 
Reformat code, fix warnings, ...

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1798202 13f79535-47bb-0310-9956-ffa450edef68
2017-06-09 12:49:01 +00:00
Andreas Beeker
eb95017049 increase heap size for ooxml compilation again, because of failing (gradle?) builds
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1796868 13f79535-47bb-0310-9956-ffa450edef68
2017-05-30 13:57:42 +00:00
Andreas Beeker
b2ab7542ac Add logging for gradle->ant->javac OOM
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1796862 13f79535-47bb-0310-9956-ffa450edef68
2017-05-30 13:33:07 +00:00
Dominik Stadler
3021f03be9 Add jmh to Sonar-Maven build as well, add comment why we need to stick to 1.15 for now
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1796035 13f79535-47bb-0310-9956-ffa450edef68
2017-05-24 10:07:32 +00:00
Andreas Beeker
390444a3be Increase memory for xmlbean generation, because of failing gump builds.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1795661 13f79535-47bb-0310-9956-ffa450edef68
2017-05-20 15:11:58 +00:00
Javen O'Neal
5c62492ffb github-54: when adding a picture to an XSSFWorkbook, reduce memory consumption by 100x and increase speed by 10x based on OpenJDK JMH benchmarking. Thanks to Tim Helmstedt! This closes #54.
https://github.com/apache/poi/pull/54

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1795252 13f79535-47bb-0310-9956-ffa450edef68
2017-05-15 23:27:21 +00:00
Andreas Beeker
8c1346b138 Add ASL header and exclude table preset from rat-check
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1795137 13f79535-47bb-0310-9956-ffa450edef68
2017-05-15 06:30:06 +00:00
Dominik Stadler
a39df8eb71 Exclude one more test from no-scratchpad runs, not sure how this was even working before...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1793253 13f79535-47bb-0310-9956-ffa450edef68
2017-04-30 09:12:48 +00:00
Andreas Beeker
3d53258942 Website update / release guide fix
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1791631 13f79535-47bb-0310-9956-ffa450edef68
2017-04-16 20:40:47 +00:00
Javen O'Neal
21f5fc8eaf roll back to hamcrest-core
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1791572 13f79535-47bb-0310-9956-ffa450edef68
2017-04-16 06:19:30 +00:00
Javen O'Neal
dc29c94460 roll back to hamcrest-core
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1791570 13f79535-47bb-0310-9956-ffa450edef68
2017-04-16 06:10:23 +00:00
Javen O'Neal
ef8c9329cf change from hamcrest-core-1.3 to hamcrest-all-1.3
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1791444 13f79535-47bb-0310-9956-ffa450edef68
2017-04-15 03:19:27 +00:00
Andreas Beeker
1078cef19c prepare for 3.17-beta1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1791047 13f79535-47bb-0310-9956-ffa450edef68
2017-04-11 22:14:38 +00:00
Andreas Beeker
2bfad141fc release prepare for 3.16 - updating build.xml and status.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1791045 13f79535-47bb-0310-9956-ffa450edef68
2017-04-11 22:13:33 +00:00
Javen O'Neal
0f09e9eae2 bug 59227: parse dates formatted in Japanese or Chinese. Change javac source encoding from ASCII to UTF-8 (same as build.gradle). Patch from jzhao. This closes #48 on Github.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1782119 13f79535-47bb-0310-9956-ffa450edef68
2017-02-08 08:29:18 +00:00
Javen O'Neal
a1db2e3346 run release-prep0 with https URLs. This worked for kiwiwings.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1781337 13f79535-47bb-0310-9956-ffa450edef68
2017-02-02 00:48:03 +00:00
Javen O'Neal
82ecb71a99 echo release version
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1781195 13f79535-47bb-0310-9956-ffa450edef68
2017-02-01 01:24:02 +00:00
Javen O'Neal
16b8e35296 release-prep1 should abort if release tag already exists. It's likely that the version was entered incorrectly or copy-pasted from a template.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1781191 13f79535-47bb-0310-9956-ffa450edef68
2017-02-01 00:59:20 +00:00
Javen O'Neal
3cb725c86d prepare for 3.16-beta3
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1780508 13f79535-47bb-0310-9956-ffa450edef68
2017-01-27 05:47:12 +00:00
Javen O'Neal
1cd8182bae revert r1780499: wrong release-prep1 version (3.15-beta1)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1780505 13f79535-47bb-0310-9956-ffa450edef68
2017-01-27 05:41:13 +00:00
Javen O'Neal
1860c7d716 Revert r1780501: wrong release-prep1 version (3.15-beta1)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1780502 13f79535-47bb-0310-9956-ffa450edef68
2017-01-27 05:27:01 +00:00
Javen O'Neal
383377499c prepare for 3.15-beta2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1780501 13f79535-47bb-0310-9956-ffa450edef68
2017-01-27 04:49:14 +00:00
Javen O'Neal
f56740144a release prepare for 3.15-beta1 - updating build.xml and status.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1780499 13f79535-47bb-0310-9956-ffa450edef68
2017-01-27 04:47:49 +00:00
Dominik Stadler
30071927f8 Need a fifth addopens-parameter for JDK 9
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1780457 13f79535-47bb-0310-9956-ffa450edef68
2017-01-26 19:59:10 +00:00
Dominik Stadler
c2022f7c3a Allow to pass --add-modules to javadoc as well as we get lots of missing code reported otherwise, we cannot use the existing property java9addmods as we need to use a different default-value for non-JDK9 builds
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776797 13f79535-47bb-0310-9956-ffa450edef68
2016-12-31 16:53:20 +00:00
Dominik Stadler
1350ad3eb3 Coverage:
* Exclude "examples" from coverage in Jenkins, add some comments
* Fix warning in newer Gradle versions
* Adjust coverage-excludes in build.xml

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776715 13f79535-47bb-0310-9956-ffa450edef68
2016-12-31 09:43:13 +00:00
Dominik Stadler
de83b46caa Update JaCoCo to 0.7.8 to allow to run it when using JDK 9
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776623 13f79535-47bb-0310-9956-ffa450edef68
2016-12-30 19:03:44 +00:00
Dominik Stadler
a6f5bcc970 Add full support for using file-leak-detector, will be added to CI to report missing close() calls in test-runs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776617 13f79535-47bb-0310-9956-ffa450edef68
2016-12-30 18:37:24 +00:00
Dominik Stadler
7b5a7e32df Allow to set the new --add-opens argument for JDK 9, scratchpad tests require slightly more memory on JDK 9 now, also adjust the Jenkins DSL accordingly.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776608 13f79535-47bb-0310-9956-ffa450edef68
2016-12-30 17:00:13 +00:00
centic
0b17d4def9 Use one redirection less when downloading findbugs jar
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776066 13f79535-47bb-0310-9956-ffa450edef68
2016-12-26 19:51:37 +00:00
Dominik Stadler
a5f60dbe27 Revert "Fail after running tests if halt.on.test.failure is set and tests are failing"
This reverts commit 1fdfcd3d44e71a2b919f045bad849b9d38150aea.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773688 13f79535-47bb-0310-9956-ffa450edef68
2016-12-11 21:15:31 +00:00
Dominik Stadler
f93ed55070 Revert "Add file-leak-detector to test-run and ooxml-lite generation in build.xml"
This reverts commit 0392a0e1c7cb188c57f59fa17578b0a69bab4d22.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773678 13f79535-47bb-0310-9956-ffa450edef68
2016-12-11 21:14:50 +00:00
Dominik Stadler
4a154add8e Add file-leak-detector to test-run and ooxml-lite generation in build.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773646 13f79535-47bb-0310-9956-ffa450edef68
2016-12-11 20:58:58 +00:00
Dominik Stadler
ca6cea1863 Fail after running tests if halt.on.test.failure is set and tests are failing
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773636 13f79535-47bb-0310-9956-ffa450edef68
2016-12-11 20:58:16 +00:00
Andreas Beeker
200850c1e4 removed duplicate ignore
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1771977 13f79535-47bb-0310-9956-ffa450edef68
2016-11-29 23:03:46 +00:00
Andreas Beeker
d9ef0efcdd #60427 - Creating pictures in PowerPoint slides requires scratchpad-jar for adding WMF images
more cases

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1771974 13f79535-47bb-0310-9956-ffa450edef68
2016-11-29 22:41:26 +00:00
Andreas Beeker
11986a0492 #60427 - Creating pictures in PowerPoint slides requires scratchpad-jar for adding WMF images
more cases

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1771832 13f79535-47bb-0310-9956-ffa450edef68
2016-11-29 00:46:39 +00:00
Andreas Beeker
603993ad08 rat-check fix
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1771649 13f79535-47bb-0310-9956-ffa450edef68
2016-11-27 21:14:55 +00:00
Andreas Beeker
8ef4744b38 fix update-download task
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1771066 13f79535-47bb-0310-9956-ffa450edef68
2016-11-24 00:31:20 +00:00
Javen O'Neal
91a8fb0a0d fix broken link http://missing-link.googlecode.com/files/ml-ant-http-1.1.3.zip
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1771056 13f79535-47bb-0310-9956-ffa450edef68
2016-11-23 22:23:09 +00:00
Dominik Stadler
5ec38746a1 Fix missing directory 'maven' in source release packages, adjust the related test-Ant-script to call 'assemble' instead of 'jar' to catch something like this in the future.
Also exclude some more intermediate files/directories from the source package.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1769684 13f79535-47bb-0310-9956-ffa450edef68
2016-11-14 19:50:39 +00:00
Javen O'Neal
04e85b90db http://www.apache.org/dist/poi -> https://www.apache.org/dist/poi
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1769566 13f79535-47bb-0310-9956-ffa450edef68
2016-11-14 05:56:19 +00:00
Javen O'Neal
c733c769f9 prepare for 3.16-beta2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1769474 13f79535-47bb-0310-9956-ffa450edef68
2016-11-13 08:41:53 +00:00
Dominik Stadler
cc38d66a3e Add a way to exclude tests via Ant-properties, needed to check if ooxml-tests run without scratchpad (except TestExtractorFactory)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1768591 13f79535-47bb-0310-9956-ffa450edef68
2016-11-07 21:32:22 +00:00
Dominik Stadler
a350f399f5 Allow more time for a unit-test when running on slow Gump VM
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1766397 13f79535-47bb-0310-9956-ffa450edef68
2016-10-24 12:07:15 +00:00
Javen O'Neal
676ca76fd9 bug 59853: support PivotTables with named structured references; patch from Greg Woolsey
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1761537 13f79535-47bb-0310-9956-ffa450edef68
2016-09-20 07:55:13 +00:00
David North
be5158c813 prepare for 3.16-beta1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1761167 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 09:33:43 +00:00
David North
3b5bd602bd release prepare for 3.15 - updating build.xml and status.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1761161 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 08:50:18 +00:00
David North
4a3571bf56 prepare for 3.16-beta1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1761144 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 07:49:52 +00:00
David North
75e2fc77df release prepare for 3.15 - updating build.xml and status.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1761142 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 07:49:02 +00:00