Not able to configure ant. Please help me | Selenium Forum
M
Posted on 17/12/2016
Below error is observed :

C:\Users\admin>ant
'ant' is not recognized as an internal or external command,
operable program or batch file.


I have followed below steps :

1) copied the ant zip into a folder :C:\apache-ant-1.9.7
2) provided into ANT_HOME : C:\apache-ant-1.9.7
3) in path C:\apache-ant-1.9.7\bin

Please let me know if I have missed something.

M
Replied on 18/12/2016

restart the PC.


if it doesn't work try downloading ant again.


M
Replied on 21/12/2016

Step1:
C:\Users\admin>"mention drive in which workspace/project is created" (for e.g. if it is created in "d" drive, then it should be C:\Users\admin>d:)

Step2:
D:\> cd "Project path" (for e.g. D:\> cd D:\Downloads_copy\workspace\Module8_Junitframework)

Step3:
D:\Downloads_copy\workspace\Module8_Junitframework\ant

After completing above steps, final output should be as below:
[attachment=0:2brw2vnx]ANT configuration.png[/attachment:2brw2vnx]

Responsive image