Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/centic9/poi-reproduce
Simple project to reproduce some behavior with different versions of Apache POI
https://github.com/centic9/poi-reproduce
Last synced: 2 days ago
JSON representation
Simple project to reproduce some behavior with different versions of Apache POI
- Host: GitHub
- URL: https://github.com/centic9/poi-reproduce
- Owner: centic9
- License: bsd-2-clause
- Created: 2023-10-26T13:53:53.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-08-11T15:20:12.000Z (about 2 months ago)
- Last Synced: 2024-08-11T16:36:42.275Z (about 2 months ago)
- Language: Java
- Size: 153 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://github.com/centic9/poi-rerproduce/actions/workflows/gradle-build.yml/badge.svg)](https://github.com/centic9/poi-rerproduce/actions)
[![Gradle Status](https://gradleupdate.appspot.com/centic9/poi-rerproduce/status.svg?branch=master)](https://gradleupdate.appspot.com/centic9/poi-rerproduce/status)Small project to test things against different versions of Apache POI.
## How it works
The test-application `TestCloseBehavior` simply opens and closes documents in various
different ways.We use a local build of [file-leak-detector](https://github.com/jenkinsci/lib-file-leak-detector) when running
this application so that file-handle leaks are reported as part of the output.## Use it
### Grab and build it
git clone https://github.com/centic9/poi-rerproduce.git
cd poi-rerproduce
./gradlew check### Prepare for running
Check out file-leak-handler, build it locally and adjust te path to it
in `build.gradle`.### Run single check for single version
./gradlew runClose -PpoiVersion=3.17 -PcloseTest=stream
### Run all checks
./runAll.sh
Remove some unnecessary output:
./runAll.sh 2>&1 | grep -v "^WARNING:" | grep -v "^> Task :" | grep -v "File leak detector installed" | grep -v "^----$" | grep -v "^> Run with --" | grep -v "^* Get more help at https://help.gradle.org$" > /tmp/output.txt
## Summary
See https://docs.google.com/spreadsheets/d/1naqkg7rvXGctJMoZ4blWb0n4vseuoD4g0cU7PQpwwOU/edit#gid=0
for a summary of running this experiment with the various versions of Apache POI## Support this project
If you find this project useful and would like to support work on it, you can [Sponsor the author](https://github.com/sponsors/centic9)
## Change it
### Build it and run tests
cd poi-rerproduce
./gradlew check jacocoTestReport#### Licensing
* poi-rerproduce is licensed under the [BSD 2-Clause License].
[BSD 2-Clause License]: https://www.opensource.org/licenses/bsd-license.php