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
preguntada hace 3 años328 visualizaciones
1 Respuesta
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
respondido hace 3 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas