Commit Graph

446 Commits

Author SHA1 Message Date
Dominik Stadler
2175d4dd7a Fix download-location of commons-logging4 jar and add it to FindBugs and bin-files target correctly
Add ant-jar to findbugs target as it is needed for excelant-code-check now
Fail on error when running Findbugs (still not on found warnings!)

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1754688 13f79535-47bb-0310-9956-ffa450edef68
2016-07-31 21:23:34 +00:00
Dominik Stadler
d01736974e Allow to specify -addmods for Java 9 support, update to JaCoCo 0.7.7 for initial Java 9 support and add target to create a combined JUnit report
Conflicts:
	build.xml

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1754687 13f79535-47bb-0310-9956-ffa450edef68
2016-07-31 21:23:25 +00:00
Dominik Stadler
ced44cffa8 Exclude package sl.draw.binding from coverage-counting as this is generated code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1754676 13f79535-47bb-0310-9956-ffa450edef68
2016-07-31 17:19:37 +00:00
Dominik Stadler
3ba5f7fd73 Adjust build:
* Use "skipexisting" in Get from Ant 1.8
* Do not always re-run ooxml-lite
* Findbugs does not require src- and javadocs-jars, so depend on "jar" instead of "assemble"

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1754672 13f79535-47bb-0310-9956-ffa450edef68
2016-07-31 17:19:05 +00:00
David North
7d5e62fd8c Move commons collections 4 dependency to main
https://bz.apache.org/bugzilla/show_bug.cgi?id=59734


git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1754602 13f79535-47bb-0310-9956-ffa450edef68
2016-07-30 08:54:50 +00:00
David North
e5877bd8e0 Introduce name-based methods for access to named ranges in a workbook, and deprecate the old index-based methods.
Re-organise internally to use a map so that lookup is O(1) rather than O(n ranges).

Add a dependency on commons collections 4, also ASL licensed so no problem.

https://bz.apache.org/bugzilla/show_bug.cgi?id=59734

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1754521 13f79535-47bb-0310-9956-ffa450edef68
2016-07-29 13:24:00 +00:00
Javen O'Neal
a3a5552b4d bug 59784: replace 'signed' with 'signature (.asc)'; patch from Sebb
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1751559 13f79535-47bb-0310-9956-ffa450edef68
2016-07-05 20:59:28 +00:00
Andreas Beeker
2a4b9c6728 announce POI 3.15-beta2
generate snipplet for download.xml

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1751103 13f79535-47bb-0310-9956-ffa450edef68
2016-07-02 22:09:00 +00:00
Dominik Stadler
e1f7c9ae23 Update to apache-rat-12
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1750863 13f79535-47bb-0310-9956-ffa450edef68
2016-06-30 21:05:52 +00:00
Andreas Beeker
1a8ffb8569 prepare for 3.15-beta3
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1750213 13f79535-47bb-0310-9956-ffa450edef68
2016-06-25 16:53:05 +00:00
Javen O'Neal
889188f445 add description to gump and jenkins build targets
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1748100 13f79535-47bb-0310-9956-ffa450edef68
2016-06-13 07:15:47 +00:00
Javen O'Neal
609d0c1826 findbugs depends on the poi, poi-scratchpad, and poi-ooxml jars being copied to build/maven
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1748087 13f79535-47bb-0310-9956-ffa450edef68
2016-06-13 05:41:32 +00:00
Andreas Beeker
603bda4915 use newer findbugs version, if we run with java 7+
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1747936 13f79535-47bb-0310-9956-ffa450edef68
2016-06-11 21:23:01 +00:00
Dominik Stadler
0c74fe60a3 Remove invalid removal of findbugs-zip
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1747862 13f79535-47bb-0310-9956-ffa450edef68
2016-06-11 08:45:33 +00:00
Dominik Stadler
065fbcbc2f Cleanup old version of curvesapi to not use it any longer
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1746276 13f79535-47bb-0310-9956-ffa450edef68
2016-05-31 13:56:47 +00:00
Nick Burch
af57e6f8bc Patch from virtuald from #59643 - update the maven-install target to match current maven resource paths in dist
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1746257 13f79535-47bb-0310-9956-ffa450edef68
2016-05-31 09:13:46 +00:00
Dustin Spicuzza
5be91c097c Update curvesapi to 1.04
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1746168 13f79535-47bb-0310-9956-ffa450edef68
2016-05-30 19:21:49 +00:00
Dominik Stadler
a48bfc0281 Prepare build.xml for initial Java 9 testing:
* Allow to remove PermGenSize, this is not available any more in Java 9
* Allow to pass in java.locale.providers

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1746059 13f79535-47bb-0310-9956-ffa450edef68
2016-05-29 21:33:28 +00:00
Dominik Stadler
1afe952ca9 Revert back to findbugs-2.0.3 as 3.x requires Java 7, I didn't see the note that is already in the build.xml :(
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1745376 13f79535-47bb-0310-9956-ffa450edef68
2016-05-24 16:25:30 +00:00
Dominik Stadler
a7df6604a4 Upgrade to FindBugs 3.0.1 and add some findbugs-excludes
Update to forbiddenapi-checker 2.1, use the newly provided rule-sets and remove things that were applied upstream 


git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1745366 13f79535-47bb-0310-9956-ffa450edef68
2016-05-24 14:17:52 +00:00
Andreas Beeker
12425ac107 added commons-logging to integration test to make profiling easier - just match the timestamps of the log with the timestamps of the profiling monitor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1744001 13f79535-47bb-0310-9956-ffa450edef68
2016-05-16 09:49:17 +00:00
Andreas Beeker
ac29f3105a remove dublin core schemas as we don't use the schemas which reference them
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1741699 13f79535-47bb-0310-9956-ffa450edef68
2016-04-29 20:55:52 +00:00
Andreas Beeker
a5e58beed1 comment out https check for jdk1.6
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1741352 13f79535-47bb-0310-9956-ffa450edef68
2016-04-27 22:17:17 +00:00
Javen O'Neal
c4df0320fb add description to dist-nexus target in build.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1739680 13f79535-47bb-0310-9956-ffa450edef68
2016-04-18 01:28:11 +00:00
Javen O'Neal
6b682bcccc add test-ss target to test Common SS, HSSF, XSSF, and SXSSF; add descriptions to targets
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1739679 13f79535-47bb-0310-9956-ffa450edef68
2016-04-18 01:23:26 +00:00
Javen O'Neal
838a649a96 add test-hssf target to test just HSSF classes, skipping hssf.dev. Duration after running ant clean (includes 0m22s of prerequisites): test-hssf: 1m3s, test-main: 2m8s.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1739674 13f79535-47bb-0310-9956-ffa450edef68
2016-04-18 01:07:37 +00:00
Javen O'Neal
63d34f2080 add missing groups to javadocs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1739669 13f79535-47bb-0310-9956-ffa450edef68
2016-04-18 00:28:13 +00:00
Javen O'Neal
41b4177b45 add test-ooxml-ss target to test just (S)XSSF classes. Duration after running ant clean: test-ooxml-ss 1m55s, test-ooxml 2m26s, test 5m55s
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1739668 13f79535-47bb-0310-9956-ffa450edef68
2016-04-18 00:16:28 +00:00
Javen O'Neal
c03fd6374b whitespace
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1739662 13f79535-47bb-0310-9956-ffa450edef68
2016-04-17 22:01:48 +00:00
Andreas Beeker
7d07ef4439 Nexus upload - mimic the manually uploaded repositories - see [INFRA-11687]
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1739281 13f79535-47bb-0310-9956-ffa450edef68
2016-04-15 11:06:58 +00:00
Javen O'Neal
bf77655e00 sourceforge findbugs can't be downloaded over HTTPS yet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1738751 13f79535-47bb-0310-9956-ffa450edef68
2016-04-12 09:56:33 +00:00
Javen O'Neal
deb66d0d5d use https URLs when available
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1738750 13f79535-47bb-0310-9956-ffa450edef68
2016-04-12 09:52:42 +00:00
Javen O'Neal
4e610a4cf2 add compile dependency to forbidden-apis-check so that forbidden-apis-check will recompile sources that have been modified
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1738500 13f79535-47bb-0310-9956-ffa450edef68
2016-04-11 01:33:21 +00:00
Andreas Beeker
0cea01423f remove copy&paste error in release-prep
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1738352 13f79535-47bb-0310-9956-ffa450edef68
2016-04-09 11:28:12 +00:00
Andreas Beeker
f18e11db77 update release-guide and build.xml to the new release process
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1738198 13f79535-47bb-0310-9956-ffa450edef68
2016-04-07 23:11:22 +00:00
Andreas Beeker
3b23cf3912 prepare for 3.15-beta2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1737620 13f79535-47bb-0310-9956-ffa450edef68
2016-04-03 23:00:28 +00:00
Andreas Beeker
4065b3e6a4 release prepare for 3.15-beta1 - updating build.xml and status.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1737617 13f79535-47bb-0310-9956-ffa450edef68
2016-04-03 22:58:08 +00:00
Andreas Beeker
9746e23093 prepare for 3.15-beta2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1737615 13f79535-47bb-0310-9956-ffa450edef68
2016-04-03 22:25:55 +00:00
Andreas Beeker
e43b180c0a release prepare for 3.15-beta1 - updating build.xml and status.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1737611 13f79535-47bb-0310-9956-ffa450edef68
2016-04-03 22:23:21 +00:00
Andreas Beeker
0cd51933ad release prepare for 3.15-beta1 - updating build.xml and status.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1737610 13f79535-47bb-0310-9956-ffa450edef68
2016-04-03 22:19:44 +00:00
Dominik Stadler
328c52aab7 Fix some cases where file handles are not closed in OldExcelExtractor
Close resources in some more tests to make the file-leak report clean again

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1737487 13f79535-47bb-0310-9956-ffa450edef68
2016-04-02 11:01:43 +00:00
Dominik Stadler
88e9ff08db Enhance integration tests to call some of the common examples/devtools to also trigger these with all sample files, currently XLSX2CSV, BiffViewer, FromHowTo
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1737308 13f79535-47bb-0310-9956-ffa450edef68
2016-04-01 06:25:49 +00:00
Tim Allison
26af28bbdb POI 59257 upgrade Bouncy Castle to 1.54
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1737298 13f79535-47bb-0310-9956-ffa450edef68
2016-04-01 00:57:56 +00:00
Nick Burch
17c2957dd7 Fetch the Ant SVN binding jars if init-svn is called
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1737165 13f79535-47bb-0310-9956-ffa450edef68
2016-03-30 21:27:03 +00:00
Andreas Beeker
8d71080604 another gump run fix (... try)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1736091 13f79535-47bb-0310-9956-ffa450edef68
2016-03-21 20:44:32 +00:00
Andreas Beeker
5741c62ab0 XmlBeans generation still needs the original jar
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1735876 13f79535-47bb-0310-9956-ffa450edef68
2016-03-20 13:15:04 +00:00
Andreas Beeker
488ce5fec3 #59195 - POIXMLTypeLoader depends on XMLBeans 2.6.0 - remove piccolo classes from xmlbeans jars and disable xmloption in type loader
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1735685 13f79535-47bb-0310-9956-ffa450edef68
2016-03-18 21:34:03 +00:00
Andreas Beeker
08fc07d5c6 increase perm gen
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1735332 13f79535-47bb-0310-9956-ffa450edef68
2016-03-16 22:41:34 +00:00
Dominik Stadler
128a991f9c Findbugs fixes
OldExcelExtractor could leak file handles in case of exceptions
Free file handles in POIFSDump, add unit-test for POIFSDump
Add a Findbugs exclude and adjust findbugs-ant slightly

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1734689 13f79535-47bb-0310-9956-ffa450edef68
2016-03-12 11:37:12 +00:00
Andreas Beeker
299fdcccf8 add fixcrlf to docs-target, to fix windows document generation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1734654 13f79535-47bb-0310-9956-ffa450edef68
2016-03-12 00:34:26 +00:00