Any file with a .xml
extension can be run as an Ant buildfile.
Of course, not all such files really are Ant buildfiles, but no harm is done
if an attempt is made to mistakenly run a non-Ant .xml
file as an Ant buildfile.
In this section, the basic mechanisms for running Ant buildfiles
in Eclipse will be covered, using the HelloWorld.xml
file created in the Editing Ant buildfiles task.
HelloWorld.xml
in one of the navigation views and choose Run As
> Ant Build... from its context menu.
Creating Ant buildfiles
Editing Ant buildfiles
Saving & Reusing Ant options
Running Ant buildfiles
Creating a project builder Ant buildfile
Ant buildfiles as project builders
Executing project builders
External tools
Non-Ant project builders
Stand-alone external tools