The ERDAS APOLLO Solution Toolkit integrates with the Apache Ant and Apache Maven build tools. The purpose of integrating with these build tools is to provide a rapid way to initialize and begin running the Java API samples in the ERDAS APOLLO Solution Toolkit. Through the use of simple command lines, you can configure, compile, and execute the Java API samples without the need for an integrated development environment (IDE). However, you must have the JAVA SDK installed as the Java JRE is not enough to execute some of the commands described in this section.
Apache Ant is a task-oriented build tool that uses a build.xml file containing the tasks and configurations. Refer to the Apache Ant Manual for a complete description of tasks and configurations as well as an overview of Ant. While the integration has been tested with Ant 1.8.2, newer versions are expected to be compatible.
Apache Maven is a more sophisticated project build tool that extends beyond the functionality of Apache Ant. Apache Maven utilizes a pom.xml file that defines configurations for managing dependencies, in addition to building and packaging artifacts. It employs a repository where dependencies are stored and retrieved during the build cycle. This integration has been tested with Maven 2.2.1, but newer versions are expected to be compatible.
Both Apache Ant and Apache Maven are distributed with the ERDAS APOLLO Solution Toolkit and reside in the tools sub-folder. It is assumed that the solution toolkit user have a working knowledge of Ant and Maven.