Dominik Stadler
fadeb68392
Store jars for svnant locally
...
Downloading them becomes nearly impossible now that bintray.dl closes down,
so let's rather persist the jars as part of the source distribution for now.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888572 13f79535-47bb-0310-9956-ffa450edef68
2021-04-10 07:16:57 +00:00
PJ Fanning
0c3aa44d36
[bug-65227] add NPE guard in SheetUtil. Thanks to Petr Blaha
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888553 13f79535-47bb-0310-9956-ffa450edef68
2021-04-09 08:21:13 +00:00
Dominik Stadler
30d8d17735
Adjust for the new source-directories in some more places
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888536 13f79535-47bb-0310-9956-ffa450edef68
2021-04-08 20:10:53 +00:00
Dominik Stadler
329ae952d2
Ensure the cache-directory for ImageIO is set to a valid directory
...
Introduce a helper method to set ImageIO.setCacheDir() to the default temporary directory
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888535 13f79535-47bb-0310-9956-ffa450edef68
2021-04-08 20:10:48 +00:00
Andreas Beeker
b9521e877c
fix paths to new gradle directories
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888529 13f79535-47bb-0310-9956-ffa450edef68
2021-04-08 17:54:42 +00:00
Andreas Beeker
0f3bf7e37f
fix merge problem
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888489 13f79535-47bb-0310-9956-ffa450edef68
2021-04-07 21:48:05 +00:00
Andreas Beeker
b6aee1ef6d
65206 - Migrate ant / maven to gradle build
...
compile / jar / test of mrJars
don't include ants build.xml anymore
rename directories to match project and maven artifact names
refactor artifacts - so each project has one artifact
replace static references in hssf/dev tests with junit5 constructs, which had problems in parallel tests
increase gradle heap to 4gb because of OOM - maybe less would also work
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888488 13f79535-47bb-0310-9956-ffa450edef68
2021-04-07 21:40:33 +00:00
Dominik Stadler
6458acb931
Adjust path for archiving JUnit files to capture both locations that are in use
...
Somehow JUnit stores test-results either under test-result or under test-result/test,
so let's look at both directories for now
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888458 13f79535-47bb-0310-9956-ffa450edef68
2021-04-07 05:33:18 +00:00
Dominik Stadler
fc96f1e4af
Jenkins DSL: Add a workaround to run "ant init" before building with Gradle
...
Otherwise the Ant-helpers are not compiled properly currently
We should remove this as soon as Gradle build is working standalone
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888450 13f79535-47bb-0310-9956-ffa450edef68
2021-04-06 20:42:32 +00:00
Dominik Stadler
572c1d9285
Enable Gradle Wrapper to avoid running with an unsupported local version
...
This may cause the strange "PrecompiledProjectScript" failures that we see currently
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888449 13f79535-47bb-0310-9956-ffa450edef68
2021-04-06 20:23:44 +00:00
Dominik Stadler
965dd2d6fc
Add a simple test-case for XLSX2CSV
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888432 13f79535-47bb-0310-9956-ffa450edef68
2021-04-06 12:48:21 +00:00
Dominik Stadler
d54b492851
Add one more directory from Maven build to .gitignore
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888431 13f79535-47bb-0310-9956-ffa450edef68
2021-04-06 12:48:16 +00:00
Dominik Stadler
2098edddc3
Fix directory for examples-sources to make Maven build work again
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888430 13f79535-47bb-0310-9956-ffa450edef68
2021-04-06 12:48:14 +00:00
Dominik Stadler
da4bc855e8
Switch the Ant-build to separate folders under "build/classes"
...
This avoids colliding in strange ways with the default Gradle location "build/classes/main/java"
This caused very strange error messages about invalid package names when compiling with Gradle and Ant in one source checkout
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888422 13f79535-47bb-0310-9956-ffa450edef68
2021-04-06 06:11:16 +00:00
Dominik Stadler
e87e3ca194
Add a Gradle target "allJavaDoc" for an initial combined JavaDoc run
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888421 13f79535-47bb-0310-9956-ffa450edef68
2021-04-06 06:11:13 +00:00
Dominik Stadler
72ce9751b1
Adjust JavaDoc target to act similar as the one in the build.xml
...
Set memory and set "lint:non" on Java 8 to not be stricter than the Ant-build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888420 13f79535-47bb-0310-9956-ffa450edef68
2021-04-06 06:11:10 +00:00
Dominik Stadler
c0cf4ebc6b
Adjust some JavaDoc
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888419 13f79535-47bb-0310-9956-ffa450edef68
2021-04-06 06:11:07 +00:00
Dominik Stadler
3aa712c32b
XSLX2CSV: Do not double-encode if the value is already having quotes and escape double-quotes
...
Most CSV formats use "" (two quotes) to escape a "-character, we should do this in this
example as well to produce files that can be parsed by other CSV processors correctly.
Also cases where the value is already enclosed in quotes should not lead to additional quotes
Add a simple initial test to module "examples" verify basic functionality of XSLX2CSV
as I often rely on it for converting some very large xlsx-files to csv
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888418 13f79535-47bb-0310-9956-ffa450edef68
2021-04-06 06:11:01 +00:00
Dominik Stadler
ddc13a4c48
Also look for test-data in ../test-data for Gradle build
...
This is needed when running tests in the IDE via the Gradle project import
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888417 13f79535-47bb-0310-9956-ffa450edef68
2021-04-06 06:10:46 +00:00
Dominik Stadler
06707dca89
Update JUnit to 5.7.1 and junit-platform to 1.7.1
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888416 13f79535-47bb-0310-9956-ffa450edef68
2021-04-06 06:10:33 +00:00
Dominik Stadler
51b04fc690
Apply some IDE suggestions, improve exception message, add some JavaDoc
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888415 13f79535-47bb-0310-9956-ffa450edef68
2021-04-06 06:10:19 +00:00
Dominik Stadler
9e792f89a2
Ignore new "build" and "out" directories
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888140 13f79535-47bb-0310-9956-ffa450edef68
2021-03-28 19:55:00 +00:00
Dominik Stadler
22b39898c3
Gradle: Add support for rat-check and initial target "jenkins"
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888139 13f79535-47bb-0310-9956-ffa450edef68
2021-03-28 19:54:57 +00:00
Dominik Stadler
6dd39585d5
Remove support for japicmp from Gradle build
...
I now spent a few hours trying to make it work and the Gradle support is
simply not production-ready and also not maintained, it triggers various
strange errors and does not supporting the usual Gradle conventions.
So I do not want to spend more time on it, feel free to revive it if you know how
to make this work properly.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888138 13f79535-47bb-0310-9956-ffa450edef68
2021-03-28 19:54:54 +00:00
Andreas Beeker
d2958cca7f
65206 - Migrate ant / maven to gradle build
...
fix distsourcebuild
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888121 13f79535-47bb-0310-9956-ffa450edef68
2021-03-28 01:12:58 +00:00
Andreas Beeker
153d28593d
65206 - Migrate ant / maven to gradle build
...
try to fix Java 16 build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888119 13f79535-47bb-0310-9956-ffa450edef68
2021-03-27 23:16:45 +00:00
Andreas Beeker
37791e4bdf
65206 - Migrate ant / maven to gradle build
...
update gradle files and project structure along https://github.com/centic9/poi/tree/gradle_build
remove eclipse IDE project files
remove obsolete record generator files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888111 13f79535-47bb-0310-9956-ffa450edef68
2021-03-27 14:03:16 +00:00
PJ Fanning
2bb3839bfe
remove temp gradle workaround for xmlbeans
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888079 13f79535-47bb-0310-9956-ffa450edef68
2021-03-26 08:22:00 +00:00
PJ Fanning
226ae72458
[github-233] Updated de.rototor.pdfbox:graphics2d to 0.31. Thanks to Tobias Stadler. This closes #233
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888058 13f79535-47bb-0310-9956-ffa450edef68
2021-03-25 09:21:04 +00:00
Dominik Stadler
5866b2129c
Make "normalizing" the file-path actually work
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888021 13f79535-47bb-0310-9956-ffa450edef68
2021-03-24 16:07:33 +00:00
Dominik Stadler
799dfc40f4
Don't use a hardcoded temporary file (and also not a hardcoded /tmp directory)
...
This could cause issues in CI or when multiple different users run tests of POI on one machine!
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887998 13f79535-47bb-0310-9956-ffa450edef68
2021-03-24 09:32:12 +00:00
Dominik Stadler
e8895c56b1
Make new tests for IOUtils work on Windows as well
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887997 13f79535-47bb-0310-9956-ffa450edef68
2021-03-24 09:30:34 +00:00
Andreas Beeker
7c6e80e903
add more xsbs to the ooxml-lite jar by recursing through XWPF and XSSF documents
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887978 13f79535-47bb-0310-9956-ffa450edef68
2021-03-23 23:58:47 +00:00
Andreas Beeker
207b98a5dc
Forbidden apis fix
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887880 13f79535-47bb-0310-9956-ffa450edef68
2021-03-20 21:27:02 +00:00
Sayi
9618056f1d
dispose cursor finally
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887868 13f79535-47bb-0310-9956-ffa450edef68
2021-03-20 16:58:11 +00:00
Sayi
0efa53456a
Create, get, modify and remove comments, support operating paragraphs, pictures and tables in comments
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887867 13f79535-47bb-0310-9956-ffa450edef68
2021-03-20 16:21:41 +00:00
PJ Fanning
6167f3416f
add jdk 1.16 job for xmlbeans
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887845 13f79535-47bb-0310-9956-ffa450edef68
2021-03-20 10:03:36 +00:00
PJ Fanning
5203092c62
revert accidental change
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887829 13f79535-47bb-0310-9956-ffa450edef68
2021-03-19 21:27:04 +00:00
PJ Fanning
4680bd516d
try to re-enable new getBlockAt code
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887828 13f79535-47bb-0310-9956-ffa450edef68
2021-03-19 21:26:30 +00:00
PJ Fanning
d96dd89e35
add disabled test for corrupt file
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887827 13f79535-47bb-0310-9956-ffa450edef68
2021-03-19 21:07:52 +00:00
Dominik Stadler
4027d8ac67
Allow negative numbers in conditional part of format string
...
Closes #229
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887802 13f79535-47bb-0310-9956-ffa450edef68
2021-03-19 09:40:10 +00:00
Dominik Stadler
82bf04669f
Enhance javadoc and coverage for IOUtils
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887801 13f79535-47bb-0310-9956-ffa450edef68
2021-03-19 09:40:05 +00:00
Andreas Beeker
2ceb5ff553
#65192 - Allow change of EncryptionMode
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887764 13f79535-47bb-0310-9956-ffa450edef68
2021-03-17 22:51:58 +00:00
Marius Volkhart
393d3a3ce9
Revert erroneously modified logging statement
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887717 13f79535-47bb-0310-9956-ffa450edef68
2021-03-16 11:37:56 +00:00
PJ Fanning
7359d4cee7
add back some new code
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887685 13f79535-47bb-0310-9956-ffa450edef68
2021-03-15 20:24:22 +00:00
PJ Fanning
bfa026e35f
revert recent changes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887682 13f79535-47bb-0310-9956-ffa450edef68
2021-03-15 18:21:37 +00:00
Marius Volkhart
08a88d6a68
Run the TestAllFiles tests as part of Gradle
...
I accidentally excluded these in r1887643. They should not be excluded.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887681 13f79535-47bb-0310-9956-ffa450edef68
2021-03-15 17:52:40 +00:00
PJ Fanning
9078e982c3
[bug-65184] revert due to integration test failures
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887660 13f79535-47bb-0310-9956-ffa450edef68
2021-03-14 23:54:49 +00:00
Andreas Beeker
093fa9adb1
Try to fix sonar build
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887659 13f79535-47bb-0310-9956-ffa450edef68
2021-03-14 23:49:43 +00:00
PJ Fanning
7aba68ff1d
reformat file
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887658 13f79535-47bb-0310-9956-ffa450edef68
2021-03-14 23:29:34 +00:00