The Enterprise Server Ant tasks can help you assemble and deploy modules and applications. For instructions, see Chapter 3, Using Ant with Enterprise Server, in Sun GlassFish Enterprise Server v3 Application Development Guide.
Enterprise Server is compatible with Apache Ant versions 1.6.5 or greater. If you have not installed Ant, you can download it from the Update Tool. The Apache Ant Build Tool add-on component supplies Ant version 1.7.1. For information about Update Tool, see Update Tool in Sun GlassFish Enterprise Server v3 Administration Guide.