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
asked 3 years ago305 views
1 Answer
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
answered 3 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions