Hi,

Thanks for the research,it seems I committed this back in 2021:

Use parallel build to speed up building and running tests
>
> Enable parallel building and parallel test-execution
> Provide a configuration to still build/test serially on CI
> via CI_BUILD=TRUE gradle --no-parallel --max-workers=1 clean build
> Adjust Jenkins DSL to set CI_BUILD to avoid problems in CI
> Adjust TestAllFiles to not fail when parallel builds are enabled
> Reduce memory settings to reduce requirements on build-environments
> Add gradle plugin to list task-dependencies
>
> Thanks to Andreas Reichel for the PR
>
> Closes #275


Some more details are at https://github.com/apache/poi/pull/275

I could not find a reason why we needed to keep caching disabled back then,
so I'd say go for it, we can revert it easily if we find issues with it.

Thanks... Dominik.


On Sun, Feb 25, 2024 at 11:38 AM Axel Howind <a...@dua3.com> wrote:

> Hi,
>
> PJ mentioned in the "Java 11“ thread that poi-ooxml-lite build times were
> slow, so I eaned to look into this. I saw the following comment in
> build.gradle.properties:
>
>     # Activating will be much faster, but break the build of
> 'poi-ooxml-lite‘
>     # @todo: look into poi-ooxml-lite task generateModuleInfo and enforce
> running whatever is needed before
>     org.gradle.caching=false
>
> To test, I set org.gradle.caching to true and did several clean and build
> runs both of the parent project and ooxml-lite and everything passed
> without error. Is the problem maybe already solved? Could be a change in
> the build files or fixed by a gradle update. If nobody knows why it is
> still disabled, maybe we should try to enable the caching again and see if
> it works now. If not, we at least know that it really still breaks the
> build.
>
> I am sorry if this has been discussed on the mailing list and I missed it.
> I have been away for a while because of my day job and more pressing
> problems I had with other projects that I need for my project.
>
> Cheers,
> Axel
>
>

Reply via email to