

We will be using Java v 1.8, Eclipse Kepler and Apache Ant v 1.10.1.

In this tutorial, we will see how to do debugging using Apache Ant both via command line and in eclipse. Using -debug option enables the debugging capabilities of Apache Ant. Apache Ant provides a -debug option to help analyze our problem with Ant or Java task which provides more detailed information than -verbose. The two options that we know are -verbose and -debug. When we talk about command line, there are various attributes provided by Apache Ant to help analyse any problem we might have while using Ant build. We will see the working of how Ant debugging work in the sections below but here is a brief about it. IntroductionĪpache Ant debugging can be done via eclipse or via command line.

For more information about Apache Ant installation and configuration with a basic Java example, please refer to Apache Ant Java Task. Before we start with this article, it is expected to have knowledge of Java, Apache Ant, and software build and deployment process so that we understand the usage of Apache Ant. In this example, we will discuss about Apache Ant Java Debug Example.
