ant-purifier feature matrix
Declared behavior and capabilities. Back to documentation.
| Feature | Behavior |
|---|---|
| Build isolation | nix-sandbox |
| Build outputs | packages, tests, release, fetches |
| Credentials | Unknown: README describes fetcher overrides for private mirrors, but does not establish CLI authentication support. |
| Dependency sources | HTTP(S) |
| LSP completion | Unknown: Completion has not been verified through this project integration. |
| Locked dependency sources through LSP | Supported |
| LSP diagnostics | Supported |
| LSP definition lookup | Supported |
| Offline language-server use | Supported |
| Language tooling mechanism | Language Server Protocol (LSP) |
| Editor integration | Supported |
| Inputs | build.xml, ivy.xml |
| Integration | wrapper-and-plugin |
| Lockfiles | ivy.lock.xml, ant-purifier.lock.json |
| Missing lock | warn-and-native |
| Nix builder | pkgs.ant-purifier.buildAntProject |
| Offline limits | Arbitrary downloads performed by other Ant tasks |
| Offline scope | locked-dependencies |
| Platform scope and limitations | Not applicable: This integration declares Linux targets only. |
| Platforms | x86_64-linux, aarch64-linux |
| Incoming projections | conditional |
| Incoming projection formats | Maven |
| Outgoing projections | conditional |
| Outgoing projection formats | Maven, Ivy |
| Relock | preserves-pins |
| Stale lock | fail-with-repair |
| Tool | Ant and Apache Ivy |
For tool, language and platform choices, see Version compatibility.
Version compatibility
Packaged versions
- Apache Ant 1.10.18 Build tool / package manager Linux x86-64 · Linux ARM64
- Apache Ivy 2.6.0 Capture / build helper Linux x86-64 · Linux ARM64
- JDK 21.0.12.1+1 Runtime running the tool Linux x86-64 · Linux ARM64
- Python 3.14.8 Capture / build helper Linux x86-64 · Linux ARM64
- Nix 2.34.9 Capture / build helper Linux x86-64 · Linux ARM64
Version definitions
flake.lock · nix/cli.nix · flake.nix · nix/legacy-basic/sdk.nix · README.md · nix/plugin.nix · nix/legacy-basic/plugin.nix · nix/legacy-basic/runtime.nix · nix/legacy-basic/read-lock.nix · nix/legacy-basic/build-project.nix · java-legacy/org/nixpurifiers/ant/legacy/Guard.java
Project-selected versions
| Component | Selected by |
|---|---|
| Build tool / package manager: Apache Ant | Select legacy-basic-v1 explicitly and supply the actual Ant package in the Nix scope; this opt-in profile is restricted to x86_64-linux. Nix scope configuration: nativeProfile, ant |
| Build tool / package manager: Apache Ivy | For legacy-basic-v1, supply the actual Ivy package in the same Nix scope; its native API and origin belong to the recorded tuple. Nix scope configuration: apacheIvy |
| Runtime running the tool: JDK | For legacy-basic-v1, supply a live SDK adapter with explicit manager executable and runtime home. Nix contexts retain the actual SDK inputs. Nix scope configuration: legacyJvmAdapter |
| Project compiler: JDK | For legacy-basic-v1, compilation must use the SDK home/compiler bound by the live adapter. It is a Nix value rather than a version string or serialized store path. Nix scope configuration: legacyJvmAdapter |
| Project runtime: JDK | Forked Java tasks in legacy-basic-v1 must use the adapter’s declared manager executable or runtime-home Java executable. The recorded tuple uses the same SDK for every role; independent runtime SDKs have no recorded point. Nix scope configuration: legacyJvmAdapter |
Requirements
-
The default modern-v1 plugin is compiled with –release 11 (Java 11 bytecode/API target); the JVM loading it must support that class format. This target does not establish a Java 11 lifecycle point. The opt-in legacy-basic-v1 profile uses a separate Java 6-targeted collector; executed combinations are recorded separately.
-
legacy-basic-v1 is an explicit x86_64-linux Nix scope with a mandatory live legacyJvmAdapter and actual Ant/Ivy packages. The SDK and manager must have the published output/home/executable/runtime-home identities; version strings never choose replacement SDK inputs. The recorded tested tuple is separate from packaged defaults and bytecode targets.
-
The legacy profile exposes dependencies and a source/class tree. Its archive is not native artifact publication fidelity. Packaging/publication tasks, task containers, nested Ant, Javadoc/JUnit tasks, project composition and projections are unsupported. Arbitrary custom-task introspection, additional versions, ARM support and version ranges are not established.
Tested combinations
Apache Ant 1.5.4 · Apache Ivy 2.4.0 Azul Zulu JDK 6.0.119 Linux x86-64
Full toolchain roles
- Project compiler: Azul Zulu JDK 6.0.119
- Build tool / package manager: Apache Ant 1.5.4
- Build tool / package manager: Apache Ivy 2.4.0
- Runtime running the tool: Azul Zulu JDK 6.0.119
- Project runtime: Azul Zulu JDK 6.0.119
Linux x86-64 (x86_64-linux) — Checks
Checked operations
- Native lock capture
- Deterministic relock
- Relock after relocation with fresh caches
- Prefetch
- Offline native build
- Native build in an isolated network namespace
- Project build
- Project tests
- Nix build
- Unchanged project sources
Limits and source evidence
-
Released in v0.1.4 with the explicit legacy-basic-v1 Nix scope: Ant 1.5.4, Ivy 2.4.0 and Azul Zulu JDK 6.0.119 (observed java.version 1.6.0-119) on x86_64-linux. The same declared SDK runs the native tool, compiler and asserting Java execution.
-
The caller supplies a live published JVM SDK adapter and actual Ant/Ivy packages. Output, home, executable and runtime-home Nix contexts are retained; serialized lock paths never select or reconstruct an SDK. Actual native process, runtime home and Ant/Ivy/collector JAR origins are checked.
-
Independent native controls resolve a nonempty direct/transitive graph, select shared 2.0 and evict transitive shared 1.0 with its middle caller edge. Actual collector relock and relocation preserve all three lock files byte for byte. Original project sources remain unchanged.
-
After prefetch, the origin is stopped and a fresh native build/test runs in an OS network namespace. Retrieved dependency bytes and compiled Main.class bytes match the independent native control; class-file major is 50. Assertions run through a Java task, not a JUnit task. No whole-JAR/POM or published-byte parity claim.
-
Immutable-source pure evaluation with import-from-derivation disabled, source/class-tree build and deterministic source/class-tree archive rebuild pass. The release is a source/class-tree archive, not native artifact publication fidelity. Packaging/publication, task containers, nested Ant, Javadoc/JUnit tasks, project composition and projections are outside this profile.
-
Controls cover same-version foreign manager/compiler/runtime rejection before the relevant role actions, same-bytes foreign JAR origins, direct packaging and Sequential/Parallel rejection before earlier target actions, native Ivy warm/fresh cache behavior, sticky pins, named updates and changed-artifact rejection without lock writes. Arbitrary custom-task introspection is not established.
-
Ordinary unlocked ant warns and executes the selected native tool with original arguments/environment. Explicit prefetch and partial/malformed locks remain errors. These controls establish no additional toolchain tuple, Ant 1.2/Ivy 2.4 compatibility, ARM support or version range.
Source revision 4db074129b0dd2ac49fae0988804e1a327a48cfa.
CI run · CI run · Source · Source · Source · Source · Source · Source · Source · Source · Source