Commit Graph

292 Commits

Author SHA1 Message Date
Dominik Stadler 66d63acfc0 Update to Apache Rat 0.11
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1630660 13f79535-47bb-0310-9956-ffa450edef68
2014-10-10 06:48:29 +00:00
Dominik Stadler 5f4551da69 Print out current version of java before building to allow to see in build output if we use a supported Java VM version
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1629644 13f79535-47bb-0310-9956-ffa450edef68
2014-10-06 13:20:12 +00:00
Andreas Beeker 36dc6dfc90 Fixed complete-build errors
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1628338 13f79535-47bb-0310-9956-ffa450edef68
2014-09-29 23:39:45 +00:00
Andreas Beeker 56051c3e44 merge with trunk
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1625828 13f79535-47bb-0310-9956-ffa450edef68
2014-09-17 21:12:36 +00:00
Andreas Beeker 9724ed0d76 removed HorribleProxy
added current version of BouncyCastle and xmlsec (using xmlsec instead of jdk internal classes, because of interoperabiltiy with e.g. IBM JDK)
heaps of changes because of above

git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1620229 13f79535-47bb-0310-9956-ffa450edef68
2014-08-24 23:05:26 +00:00
Andreas Beeker 750ff718f0 starting tsp tests / removed mockito stuff again
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1618515 13f79535-47bb-0310-9956-ffa450edef68
2014-08-17 19:53:34 +00:00
Andreas Beeker 3bf0b0bd10 - Updated to BC 1.51
- Download BC/test-libs in build.xml

git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1618403 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 19:21:31 +00:00
Andreas Beeker ed2a75890f migrated enveloped document test (1 of 2)
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1618288 13f79535-47bb-0310-9956-ffa450edef68
2014-08-15 22:20:30 +00:00
Andreas Beeker 4f4b1bedd7 sync merge to trunk
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1617624 13f79535-47bb-0310-9956-ffa450edef68
2014-08-12 23:33:07 +00:00
Uwe Schindler fed01cb1ad Fix bug #56814 - Switch from dom4j to JAXP
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1617428 13f79535-47bb-0310-9956-ffa450edef68
2014-08-12 07:19:51 +00:00
Andreas Beeker d85ee68b7f download xades files and remove from them resources
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1617153 13f79535-47bb-0310-9956-ffa450edef68
2014-08-10 20:37:44 +00:00
Andreas Beeker 9660a04c19 Xml signature support - version 1
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1617141 13f79535-47bb-0310-9956-ffa450edef68
2014-08-10 18:25:10 +00:00
Nick Burch 7f6131aba5 Correct xmlbeans 2.6 url
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1615893 13f79535-47bb-0310-9956-ffa450edef68
2014-08-05 08:53:15 +00:00
Nick Burch fc60883a7d Change the default XMLBeans version used for running to be 2.6, leave 2.3 for compiling the schemas (for maximum compatibility)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1615780 13f79535-47bb-0310-9956-ffa450edef68
2014-08-04 20:40:45 +00:00
Dominik Stadler 6dea78adb3 * Ensure that some older versions of third-party libraries are removed when we do the jar-check, we saw some strange and hard-to-find build-errors lately, e.g. CI fails to run JaCoCo because of outdated asm-all-4.jar being still available.
* Include new "release-notes" target in jenkins-target

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1615453 13f79535-47bb-0310-9956-ffa450edef68
2014-08-03 21:30:30 +00:00
Nick Burch 5431a7aa73 Prep for 3.11 beta 1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1614956 13f79535-47bb-0310-9956-ffa450edef68
2014-07-31 18:54:22 +00:00
Nick Burch e7fcfa03eb Exclude the release notes and readmes from the rat checks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1614642 13f79535-47bb-0310-9956-ffa450edef68
2014-07-30 12:53:19 +00:00
Nick Burch 6369881e21 Add a target to help with generating the release notes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1614573 13f79535-47bb-0310-9956-ffa450edef68
2014-07-30 07:32:21 +00:00
Dominik Stadler e8794899b4 JaCoCo 0.7.x requires asm-5
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1612887 13f79535-47bb-0310-9956-ffa450edef68
2014-07-23 17:41:40 +00:00
Dominik Stadler e53716bd5b Upgrade to latest JaCoCo 0.7.1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1607384 13f79535-47bb-0310-9956-ffa450edef68
2014-07-02 14:48:59 +00:00
Dominik Stadler 193d615895 Revert upgrade to XMLBeans 2.6.0 to properly discuss on the mailinglist first
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1602075 13f79535-47bb-0310-9956-ffa450edef68
2014-06-12 07:08:21 +00:00
Dominik Stadler 427d733469 Add missing @Overrides, reformat some files, increase coverage slightly,
comments, fix Eclipse warnings and add close() calls in some tests and
in HMEFMessage() to close files during tests correctly.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1602008 13f79535-47bb-0310-9956-ffa450edef68
2014-06-11 20:36:30 +00:00
Dominik Stadler 267d70569a Update XMLBeans to version 2.6.0
Conflicts:

	.classpath

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1602006 13f79535-47bb-0310-9956-ffa450edef68
2014-06-11 20:32:52 +00:00
Dominik Stadler 87d020c03a Update to latest Ant 1.9.4 and add ant-launcher which is used in
ExcelAnt tests to make it easier to run these tests in Eclipse

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1598226 13f79535-47bb-0310-9956-ffa450edef68
2014-05-29 09:16:29 +00:00
Nick Burch 9cc498fa5c More stax jar removal for Java 6
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1587631 13f79535-47bb-0310-9956-ffa450edef68
2014-04-15 16:29:05 +00:00
Nick Burch 5b2c90e406 Now that we require Java 1.6, we no longer need to include the STAX-API jar as JRE 1.6 has it build in
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1587605 13f79535-47bb-0310-9956-ffa450edef68
2014-04-15 15:19:30 +00:00
Dominik Stadler a952c56467 Exclude some generated classes from coverage measurements, now instruction coverage is at around 72%, also update JaCoCo to latest version 0.6.5
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1578146 13f79535-47bb-0310-9956-ffa450edef68
2014-03-16 19:46:46 +00:00
Andreas Beeker 2589b5ad1e disable font downloading, because of Jenkins connection (download) problems
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1574226 13f79535-47bb-0310-9956-ffa450edef68
2014-03-04 22:23:29 +00:00
Dominik Stadler a4cb9a5826 build.xml: Add missing depends on init for compile-main target
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1568556 13f79535-47bb-0310-9956-ffa450edef68
2014-02-15 00:19:50 +00:00
Andreas Beeker 334aaad728 FindBugs fix
- fixed "Field isn't final but should be"
- see http://findbugs.sourceforge.net/bugDescriptions.html#MS_SHOULD_BE_FINAL


git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1568145 13f79535-47bb-0310-9956-ffa450edef68
2014-02-13 23:34:11 +00:00
Andreas Beeker ad8ded4b1d disable not applicable findbugs check
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1567815 13f79535-47bb-0310-9956-ffa450edef68
2014-02-13 00:07:36 +00:00
Andreas Beeker fc697f0e60 Bug 55902 - Mixed fonts issue with Chinese characters (unable to form images from ppt)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1567455 13f79535-47bb-0310-9956-ffa450edef68
2014-02-11 23:16:54 +00:00
Andreas Beeker 4b9d47af5a FindBugs fix
- fixed "Class defines equals() and uses Object.hashCode()"
- see http://findbugs.sourceforge.net/bugDescriptions.html#HE_EQUALS_USE_HASHCODE
- implemented UnicodeString.ExtRst.hashCode() + junit-test

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1566427 13f79535-47bb-0310-9956-ffa450edef68
2014-02-09 21:19:20 +00:00
Andreas Beeker e83fccf773 Use findbugs in the jenkins build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1566172 13f79535-47bb-0310-9956-ffa450edef68
2014-02-08 23:44:42 +00:00
Dominik Stadler 46e02ba40f Switch to JDK 6 for generated code as well
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1563999 13f79535-47bb-0310-9956-ffa450edef68
2014-02-03 18:55:37 +00:00
Dominik Stadler 47070c5060 Update commons-logging to 1.1.3 and set scope to test for hamcrest lib in pom
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1563997 13f79535-47bb-0310-9956-ffa450edef68
2014-02-03 18:54:44 +00:00
Dominik Stadler 5758218f9d Update third party libs: commons-codec to 1.9, log4j to 1.2.17
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1563447 13f79535-47bb-0310-9956-ffa450edef68
2014-02-01 17:21:21 +00:00
Dominik Stadler d724ab61a2 Fix pattern for license check failure
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1559818 13f79535-47bb-0310-9956-ffa450edef68
2014-01-20 19:55:44 +00:00
Dominik Stadler 7fbc249c5a Add license check via Apache rat to jenkins build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1559813 13f79535-47bb-0310-9956-ffa450edef68
2014-01-20 19:31:57 +00:00
Dominik Stadler 17d3de1733 adjust ant-target check-rat: Download jarfile instead of requiring it locally, write report to a temporary file and scan it for failures to break the build if necessary
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1559810 13f79535-47bb-0310-9956-ffa450edef68
2014-01-20 19:25:22 +00:00
Yegor Kozlov 213c29377f set version.id to 3.11-beta1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1558698 13f79535-47bb-0310-9956-ffa450edef68
2014-01-16 04:56:26 +00:00
Dominik Stadler be4e27c463 Update to latest JaCoCo 0.6.4
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1553521 13f79535-47bb-0310-9956-ffa450edef68
2013-12-26 17:54:27 +00:00
Andreas Beeker bf2b13b9fa Patch for Bug/Enhancement 55818 - add encryption support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1553336 13f79535-47bb-0310-9956-ffa450edef68
2013-12-24 23:13:21 +00:00
Dominik Stadler 2bd3296911 Slightly more test-coverage in HSSFSheet/XSSFSheet/SXSSFSheet and fix some Eclipse warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1537331 13f79535-47bb-0310-9956-ffa450edef68
2013-10-30 22:26:13 +00:00
Tim Allison 1d63ba79f4 increment build beta version to 3.10-beta3; forgot to as part of last release...doh.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1526965 13f79535-47bb-0310-9956-ffa450edef68
2013-09-27 15:53:53 +00:00
Dominik Stadler 48b5c3623c Update to JaCoCo 0.6.3 and svn-ignore the .zip file as well
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1513762 13f79535-47bb-0310-9956-ffa450edef68
2013-08-14 08:20:21 +00:00
Dominik Stadler 74450d33b7 Fix how coverage-reporting is triggered, was effectively disabled always currently because of how Ant if/unless works
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1513233 13f79535-47bb-0310-9956-ffa450edef68
2013-08-12 19:43:40 +00:00
Dominik Stadler cb5ff8f4cf Adjust build.xml to run JaCoCo coverage when running unit tests when
flag coverage.enabled is set to true, download necessary jars, add jacoco:coverage
to junit targets and a testcoveragereport target which produces the coverage report.
Also fix a test that is affected by JaCoCo and add slightly more coverage in another test.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1510243 13f79535-47bb-0310-9956-ffa450edef68
2013-08-04 16:38:01 +00:00
Dominik Stadler 6d772a851e Fix build broken by previous checkin by creating a TestUnfixedBugs for ooxml as well and excluding the new test-class in test-ooxml similar to the main tests.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1498280 13f79535-47bb-0310-9956-ffa450edef68
2013-07-01 08:03:40 +00:00
Dominik Stadler ae5b31d741 Adjust build.xml to update to junit 4.11
Also allow to specify a pattern to only run certain unit tests.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1498178 13f79535-47bb-0310-9956-ffa450edef68
2013-06-30 20:49:51 +00:00