Chisle
The coding-agent plugin that bills 52% of a bare model across 20 live tasks. Terse persona + tool-output compressor + context diet.
翻訳待ち
Tool to manipulate versions for Ant projects
翻訳待ち
Loading the full README.
Read the full README ↗A command-line tool to align versions and coordinates in Apache Ant projects, modelled on the Maven POM Manipulation Extension (PME) and its Gradle sibling, the Gradle Manipulator (GME).
Like PME and GME, it exists to support rebuilding large numbers of pre-existing projects in a cleanroom environment: discover what a build publishes, look the coordinates up against an external source of truth (a Dependency Analyzer / DA service), compute the version each artifact should be published under, and rewrite the build files in place — preserving formatting.
Ant has no canonical project model. A single build.xml can produce many artifacts, versions live
behind chains of ${property} / @token@ substitutions, and the same version literal appears both
in version-defining sites and in prose. This tool reuses Ant's own ProjectHelper/Project to parse
build files and expand properties, then applies a PME-style pipeline on top.
The stages mirror PME's ManipulationManager flow:
<import> / <include> / <ant> / <subant> links to find every
build file that may need manipulating.ivy.xml,
Maven-1 project.xml, properties, and -D overrides. A subdirectory that has its own build.xml
is only considered when step 1's crawl actually reached it — a self-contained Ant project bundled
alongside the real sources but never executed from the root (e.g. an abandoned sandbox proposal) is
excluded, rather than being mistaken for a real artifact or the execution root.groupId:artifactId, flag version conflicts.${...}, @TOKEN@) to concrete values by
following Ant's substitution chains.discovery-report.json of every coordinate candidate found, with
provenance, conflicts, and reconciliation (no PME/GME equivalent).alignmentReport.json in PME's own JSON shape, so PNC/Repour
consume Ant Manipulator's GAV changes exactly like PME's and GME's.The build is a multi-module Maven reactor, mirroring PME's structure:
| Module | Contents |
|---|---|
common | Shared value types, the PME-style VersionIncrementer (version math), and the Dependency Analyzer REST translator. Request/response model types come from da:reports-model so the wire format stays consistent with PME and GME. |
core | The Ant-tree manipulators — GAV resolution/correlation, version reconciliation, the formatting-preserving rewriter — plus the alignment report. |
cli | The picocli entry point; builds the self-contained (shaded) executable jar. |
integration-test | End-to-end tests that drive the assembled pipeline against fixture Ant projects. |
mvn clean package
This produces a self-contained (shaded) executable jar at cli/target/ant-manipulation-cli.jar.
Full usage, CLI flags, -D property reference, and feature guides are on the
documentation site.
See CONTRIBUTING.md.
Licensed under the Apache License, Version 2.0.