← Back to issue list

Ant properties, build target, and destination directory options

View original Github issue

Metadata

Project
snapcraft
Number
#752
Type
pull request
State
merged
Author
evandandrea
Labels
—
Created
Updated
Closed

Current evaluation

Merged in canonical/snapcraft#752 as e3fe0ed62, adding Ant properties, build-target and artifact-destination options while retaining the target/ default.

Resolution: closed resolved

Reason: PR #752 was merged and implemented the requested Ant plugin options in commit e3fe0ed62.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Add options for setting ant properties, an ant build target, and the destination directory for ant build artifacts (point the right property at the snapcraft installdir). This change preserves compatibility with the old method of assuming jars will end up in target/. The motivation was the Cassandra snap. It currently uses a [custom plugin](https://github.com/evandandrea/cassandra-snap/blob/e7f88807c9c0887f3df3dc5a7ca15b196b0cd604/parts/plugins/x-cassandra.py), which can be replaced with the following two settings to the ant plugin: ``` ant-dest-property: dist.dir ant-build-target: artifacts ``` I'm completely open to changing the name of these options or altering their behaviour.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged in canonical/snapcraft#752 as e3fe0ed62, adding Ant properties, build-target and artifact-destination options while retaining the target/ default.
stealth/space-bunny-alpha — closed resolved Merged into main as e3fe0ed62, adding Ant properties, build-target, and artifact-destination options while retaining the target/ default.
stealth/space-bunny-alpha — closed resolved Merged in canonical/snapcraft#752 (e3fe0ed62), adding Ant properties, build-target, and artifact-destination options while preserving the target/ default.
stealth/space-bunny-alpha — closed resolved PR canonical/snapcraft#752 was merged, adding Ant properties, build-target, and destination-directory options while preserving the default target/ artifact location.
qwen/qwen3.6-35b-a3b — — Merged after rebasing to master and addressing review feedback. Adds configurable ant properties, build target, and destination directory options to the ant plugin, enabling custom build configurations while preserving backward compatibility.
qwen3.6-35b-a3b-mtp-q6 — — Merged after addressing review feedback. Added configurable options for Ant build properties, targets, and destination directories to the snapcraft ant plugin. Branch synced with master, unit tests added, and linting fixed prior to merge.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.