Generated Computers
Locals: an Apple Silicon engine that runs local LLMs up to 3x faster. A product of Generated Computers.
翻译准备中
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Tool to manipulate versions for Ant projects
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 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.