Bug 66828 - ant 1.10.13 breaks POI build
Summary: ant 1.10.13 breaks POI build
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: POI Overall (show other bugs)
Version: 5.3.x-dev
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on: 66832
Blocks:
  Show dependency tree
 
Reported: 2023-08-01 13:08 UTC by PJ Fanning
Modified: 2023-09-08 16:04 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description PJ Fanning 2023-08-01 13:08:51 UTC
The Gradle build fails due to:

java.lang.module.FindException: Unable to derive module descriptor for /home/runner/.gradle/caches/modules-2/files-2.1/org.apache.ant/ant-launcher/1.10.13/331234763210702757a5780437844c6aef5d2bdf/ant-launcher-1.10.13.jar
Caused by: java.lang.module.InvalidModuleDescriptorException: allow.class found in top-level directory (unnamed package not allowed in module)
Comment 1 Dominik Stadler 2023-08-02 07:23:19 UTC
Where did you see this failure or how can we reproduce it? 

CI Builds at https://ci-builds.apache.org/job/POI/ look fine as far as I see.

Only JDK 17 is failing, but with a likely unrelated issue "string value 'Text' is not a valid enumeration value for ST_ObjectType"
Comment 2 PJ Fanning 2023-08-02 08:07:45 UTC
Fails in GitHub CI build: https://github.com/apache/poi/actions/runs/5724407254/job/15510836244
Comment 3 PJ Fanning 2023-08-02 08:24:22 UTC
Also happens in https://ci-builds.apache.org/job/POI/job/POI-DSL-1.17/545/consoleFull
Comment 4 Dominik Stadler 2023-08-02 10:21:08 UTC
Code was reverted to Apache Ant 1.10.12 via r1911398 

Reported issue for Apache Ant at bug #66832 to get their take on this newly introduced "workaround"
Comment 5 Dominik Stadler 2023-09-08 16:04:56 UTC
Breaking changes in Ant were reverted in 1.10.14, update was applied in r1912088