There is a legacy project in our team, that has build.xml file, dist folder, nbproject etc in its project's folder structure. To build it on Linux machine they use Netbeans 8.2 IDE. There is no Ant installed on that machine I confirmed with ant -v command. I want to understand that :
Yes
Ant is embedded in the Netbeans installation directory. On my Netbeans 11 it's in <Netbeans_install_dir>/extide/ant
.
In Netbeans IDE, menu Tools/Options/Java
and there should be an Ant tab which shows the current path to Ant -which can be changed.