Search code examples
linuxantnetbeans-8netbeans-platform

Netbeans buiding Ant Project on Linux


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 :

  1. Is Netbeans internally using ANT to build this project ?
  2. If, yes then how ?
  3. Where in Netbeans I can find the ANT configurations to proof/confirm that its ANT project and Netbeans internally using ant to build it.

Solution

    1. Yes

    2. Ant is embedded in the Netbeans installation directory. On my Netbeans 11 it's in <Netbeans_install_dir>/extide/ant.

    3. 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.