With reference to my previous blogs on DevOps CI Tools
installation/integration, in this blog you can learn on how to install ANT for Windows10.
Downloand windows 10 version of APACHE ANT from the below url:
Assuming you have JDK and JAVA_Hoome are setup in windows variables environment.
If you need to install JDK in your windows machine, please go through my JENKINS
Instllation blog. It has JDK installation procedure also.
Unzip the file : apache-ant-1.10.3-bin.zip
Note this path. And go to Windows System variables and use new.
You can type the Variable name : ANT_HOME
Give your Ant software unzipped path, Variable value:
Note: I gave my ANT path as example.
Goto System variables section and edit/add ANT_HOME variable and
give your current path:
And the variable can be named as %ANT_HOME%\bin
So you have updated the windows settings for ANT folder Location.
Now, open a fresh CMD window and check the ANT folder as below:
Microsoft Windows [Version 10.0.16299.431]
(c) 2017 Microsoft Corporation. All rights reserved.
How to cheeck your current ANT version?:
Now, In a fresh command window,
And apply as below:
Apache Ant(TM) version 1.10.3 compiled on March 24 2018
Trying the default build file: build.xml
Buildfile: build.xml does not exist!
Now, it shows your ANT folder and its version also.
It means your ANT software can be used.