The GlassFish Server provides server-specific tasks for administration and deployment; see Chapter 3, Using Ant with GlassFishTM Server. The sample applications that can be used with the GlassFish Server use Ant build.xml files; see Sample Applications.
For more information about Ant, see the Apache Software Foundation web site at http://ant.apache.org/.