Skip to content

Find ant.exe on Windows PATH#809

Open
Herrtian wants to merge 1 commit into
apache:trunkfrom
Herrtian:fix-windows-ant-path
Open

Find ant.exe on Windows PATH#809
Herrtian wants to merge 1 commit into
apache:trunkfrom
Herrtian:fix-windows-ant-path

Conversation

@Herrtian
Copy link
Copy Markdown

@Herrtian Herrtian commented May 1, 2026

Fixes #405.

On Windows, ant can be available as ant.exe rather than only ant.bat (for example after a Chocolatey install). This adds a small PATH lookup helper for Ant, keeps the existing .bat fallback, and uses it for Cassandra builds.

I also removed the outdated Windows install note that asked users to create an ant.bat symlink.

Tested with:

uv run --with pytest==8.2.1 --with mock==5.1.0 --with pyyaml --with six --with psutil --with packaging --with pbr pytest tests/test_common.py -q

@Herrtian Herrtian force-pushed the fix-windows-ant-path branch from d9e0ffe to 69608a1 Compare May 1, 2026 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Windows: find ant as well as ant.bat on path

1 participant