Commit Graph

316 Commits

Author SHA1 Message Date
Dominik Stadler 64ded75d87 Update to latest JaCoCo 0.7.2 and adjust coverage report to exclude third-party code that is not relevant for coverage measurement
Conflicts:
	build.xml

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1649177 13f79535-47bb-0310-9956-ffa450edef68
2015-01-03 09:34:25 +00:00
Dominik Stadler 29f23904bb Exclude javadoc-jars in findbugs run
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1648155 13f79535-47bb-0310-9956-ffa450edef68
2014-12-28 08:59:34 +00:00
Dominik Stadler 0e0fcc7d61 Add jars from compile-lib to findbugs target
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1647938 13f79535-47bb-0310-9956-ffa450edef68
2014-12-26 07:04:10 +00:00
Dominik Stadler 8daac21f87 Add a test-suite which performs integration/stress tests which load and handle all stored test files in various ways.
It works by using handlers for each type of file which perform various operations on the files, e.g. loading,
iterating content, modify, ... This will trigger changes which break working with the available test-files and
thus provides another layer of regression testing which hopefully prevents some failures from making it into
releases.

It is runnable via a new ant-target 'test-integration' and also added to the jenkins-target.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1647885 13f79535-47bb-0310-9956-ffa450edef68
2014-12-25 09:16:44 +00:00
Nick Burch 032cc44ded Prep for release
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1645814 13f79535-47bb-0310-9956-ffa450edef68
2014-12-16 01:54:49 +00:00
Nick Burch 4ae1ee399b Prep for release
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1645812 13f79535-47bb-0310-9956-ffa450edef68
2014-12-16 01:52:42 +00:00
Andreas Beeker 0527986c93 revert of r1639217 and offline-linking for maven javadocs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1639807 13f79535-47bb-0310-9956-ffa450edef68
2014-11-15 00:00:30 +00:00
Nick Burch dccd17dc74 Use more maven-like naming of the source jars for the ooxml schemas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1638037 13f79535-47bb-0310-9956-ffa450edef68
2014-11-11 07:18:39 +00:00
Dominik Stadler d9bfd8ebde Bug 57197: use proxy for TestSignatureInfo if set via environment variables
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637979 13f79535-47bb-0310-9956-ffa450edef68
2014-11-10 20:37:26 +00:00
Nick Burch bb17321d3f Build per-component javadoc jars, suitable for use with Maven / Maven Central
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637827 13f79535-47bb-0310-9956-ffa450edef68
2014-11-10 12:29:08 +00:00
Nick Burch 95e72817a8 Follow discussions on dev@, don't include the javadocs in the source package, since they can be recreated as desired using ant from the unpacked source package
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637818 13f79535-47bb-0310-9956-ffa450edef68
2014-11-10 11:20:48 +00:00
Dominik Stadler 529a05f37f Add xmlsec-jar in test-ooxml-lite which is missing after removing ooxml.classpath
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637718 13f79535-47bb-0310-9956-ffa450edef68
2014-11-09 19:19:02 +00:00
Dominik Stadler 1421f5c707 Adjust location of ooxml-lite classes and try with reduced classpath to actually test without full xsds
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637704 13f79535-47bb-0310-9956-ffa450edef68
2014-11-09 17:55:22 +00:00
Nick Burch efb42dc897 When building the source package, also exclude the compile jars, and any dist folders
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637561 13f79535-47bb-0310-9956-ffa450edef68
2014-11-08 13:40:53 +00:00
Nick Burch 06bf5b85c7 Set things up for the next release
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637555 13f79535-47bb-0310-9956-ffa450edef68
2014-11-08 12:49:03 +00:00
Dominik Stadler b604190ffa Fail build if test-cases fail in OOXMLLite execution to avoid missing included schema-classes. Also adjust how we look for test-classes so that we print out the ones that we skip with known ones excluded. Also print out skipped inner classes.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637475 13f79535-47bb-0310-9956-ffa450edef68
2014-11-07 22:33:54 +00:00
Andreas Beeker 3b341743de excluded notesmaster.xml from rat check
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1635018 13f79535-47bb-0310-9956-ffa450edef68
2014-10-29 00:45:47 +00:00
Andreas Beeker 1499778fdd added ooxml-security-1.0 to the maven artifacts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1634247 13f79535-47bb-0310-9956-ffa450edef68
2014-10-25 19:34:42 +00:00
Dominik Stadler 55c17e19c6 One more change to OOXMLLite to also run all tests successfully when the outdated xerces lib is provided
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1633285 13f79535-47bb-0310-9956-ffa450edef68
2014-10-21 07:06:26 +00:00
Andreas Beeker e303a85c6c xml dsign - javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1633241 13f79535-47bb-0310-9956-ffa450edef68
2014-10-20 22:18:42 +00:00
Dominik Stadler c1bf8e82a9 * Make more tests work in OOXMLLite compilation by adding xml security classpath and ensuring proper cleanup in some Extractor tests
* Remove downloading xerces library here, we now do this in the special Jenkins job and thus can get rid of it here

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1633166 13f79535-47bb-0310-9956-ffa450edef68
2014-10-20 14:26:53 +00:00
Dominik Stadler dc570c8e83 * Also adjust build.xml for newer required Ant 1.8.0
* Pass "additionaljar" to junit calls to enable us to exclude tests which we know are failing (newer XML Security stuff)

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1633156 13f79535-47bb-0310-9956-ffa450edef68
2014-10-20 13:54:41 +00:00
Andreas Beeker 90359aefff Removed some custom classloading code, which doesn't make sense anymore
Tested a few other timestamp providers
limited the use of the additional libraries to xml dsign classes while running the junit tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1632858 13f79535-47bb-0310-9956-ffa450edef68
2014-10-18 23:19:49 +00:00
Dominik Stadler 74630e3dcb Fix detecting missing downloaded and compiled OOXML jars, remove older versions of apache-rat correctly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1631249 13f79535-47bb-0310-9956-ffa450edef68
2014-10-12 20:07:11 +00:00
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