Ant stopped working in Eclipse

621 Views Asked by At

My Ant was working fine till today, today I installed TestNG plugin and after restart Ant is not there. I cant see option in Eclipse Preferences and I cant see Ant view also.

I also tried to install the latest Ant-Ivy plugin but no luck.

Can anyone help me?

I am using Eclipse Mars & JDK 1.7.

Eclipse View, where build file is shown as normal xml file

I was able to run the build file from external ANT but not from Eclipse.

2

There are 2 best solutions below

0
On

As a workaround, I was able to run the build file from external ANT but not from Eclipse.

4
On

Check your preferences :
General | Editors | File Associations

Ant | Runtime
Maybe your problems are related to that eclipse bug !?
The workaround using a symbolic link works fine.