Install ant in windows codebuild project

0

I need to run a build on a Windows system. I have an existing build.xml for ant which will do what I want but can't find any documentation or examples on how to install ant on Windows.

The documentation just says "You can use a build specification to install other components (for example, the AWS CLI, Apache Maven, Apache Ant, Mocha, RSpec, or similar) during the install build phase." but does not give any useful examples.

rde2
質問済み 3年前328ビュー
1回答
0

If you are using CodeBuild provided build image, then you can do "choco install ant" in your buildspec. If you are using a custom image, you can directly install ant (multiple ways do this, but you can follow the instructions from apache.org: https://ant.apache.org/manual/install.html).

AWS
Subin M
回答済み 3年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン