Runtime/build-time discrepancies with jdk and ant plugins
Metadata
Current evaluation
Migrated to canonical/snapcraft#15 and closed by sergiusens (2019) as handled by 3.x base support: ant gained base/build-env handling (#2370, #2453 jre defaults) and the jdk plugin was removed in merged PR #2376 (b556781ad); ant later switched to the ant snap by default (14d12bbb3).
Resolution: closed resolved
Reason: ~sergiusens closed it on 2019-01-24 stating "Everything has been taken care of in 3.x and triggered when using bases." The requested build/runtime separation landed via base support in PR #2370 and jre default fixes in PR #2453, and merged PR #2376 (commit b556781ad) deleted the deprecated jdk plugin, with the change noted in the 3.0 release notes.
Evaluated by: mr-cal-bot
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Migrated to canonical/snapcraft#15 and closed by sergiusens (2019) as handled by 3.x base support: ant gained base/build-env handling (#2370, #2453 jre defaults) and the jdk plugin was removed in merged PR #2376 (b556781ad); ant later switched to the ant snap by default (14d12bbb3). | |
| stealth/space-bunny-alpha | — | closed resolved | Resolved in Snapcraft 3.x: base support replaced the old jdk-plugin flow, and merged PR #2376 (b556781ad) removed the jdk plugin while Ant/JRE defaults were corrected. | |
| stealth/space-bunny-alpha | — | closed stale | No direct fix was recorded; the jdk plugin was later removed in #2376 (b556781ad), and #2453 corrected JRE defaults for Ant, Maven and Gradle. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution or comments. The proposal to modify ant and jdk plugin behavior to resolve runtime and build-time discrepancies was abandoned. No implementation or follow-up occurred. | |
| qwen/qwen3.6-35b-a3b | — | — | Proposals to rename jdk to jre, update ant to pull default-jdk, and separate build/runtime environments were closed without discussion. The request was abandoned due to prolonged inactivity and no resolution. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Superseded By:
canonical/snapcraft#15
(confidence 95%)
LP bug was migrated by ~elopio (2015-10-30) to this GitHub issue, which carried the same title and discussion.
-
Likely Fixed By:
canonical/snapcraft#2376
(confidence 92%)
Merged PR 'jdk plugin: remove jdk' (commit b556781ad) deleted the jdk plugin lool asked to rename/replace; noted in Snapcraft 3.0 release notes, resolving LP #1794788.
-
Likely Fixed By:
canonical/snapcraft#2370
(confidence 85%)
'ant plugin: add support for bases' implements the build/runtime environment differentiation requested in the issue.
-
Likely Fixed By:
canonical/snapcraft#2453
(confidence 82%)
'ant, maven and gradle plugins: use correct defaults for jre' corrects the runtime JRE handling raised as the discrepancy here.
-
Related To:
snapcraft#14d12bbb3
(confidence 70%)
Later change making the ant plugin use the ant snap for building by default, the opposite direction to lool's proposed system-JDK approach.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2597 ant plugin: switch to using ant snap for building (by default) | snapcraft | merged | Merged in snapcraft#2597 (14d12bbb3), switching the Ant plugin to build with the ant snap by default while retaining ant-version with checksum as an alternative. | |
| #15 Runtime/build-time discrepancies with jdk and ant plugins | snapcraft | closed | Closed after a maintainer said it appeared fixed and requested a reproducer; no resolving PR, commit, or release was identified, and LP1477745 was closed as unimplemented. |