View RSS Feed


Apache Ant Build

  1. Troubleshooting ANT

    by , 02-19-2012 at 08:53 AM
    Ant consists of built in and supportive diagnostic features. Internal state could be seen and printed out by usage of this ant –diagnostic. Code will be checking and printing these points.

    • Ant run directory.
    • All the available optional tasks.
    • JVM system’s properties.
    • The ant-*.jar versions & ant.jar version, which consist of an optional tasks.
    • All jar file present in ANT_HOME/lib
    • XML parser’s information
    • Temp directory status.
    • Current time zone.

  2. Building Ant

    by , 02-19-2012 at 08:52 AM
    Options present to build source, from Apache Ant are:

    • Installation of the Ant source distribution
    • Checking out of the Ant module, from SVN

    Your installation directory shall be changed after the installation is done.

    JAVA_HOME environment variable shall be set, to the JDK installation directory.

    These commands are used to build by the help of Ant:

    build -Ddist.dir=<directory_to_contain_Ant_distribution> dist ...
    Tags: building ant Add / Edit Tags
  3. Why use Apache Ant

    by , 02-19-2012 at 08:50 AM
    Build tools given below are used widely and are present already in the market.
    1. Make
    2. Nmake
    3. Gnumake
    4. Jam
    Why Apache Ant is needed in presence of various build tools? All the given tools hold certain bounds and original author of Ant doesn’t survive without it.

    Ant has always been considered to be a different kind of build tool. Java classes are used for extension of Ant rather than shell based command extension. Configuration files are based ...
    Tags: apache ant Add / Edit Tags
  4. Apache Ant

    by , 02-19-2012 at 08:48 AM
    Apache Ant is a java library and is considered as command line tool. Major tasks performed by Apache Ant is building processes drive which have been explained in the files of builds as extension points and targets, dependent at each other. Java based applications are built by the Ant which is the key usage of it. Various built in tasks are provided by the Ant so that following could be performed at Java applications:

    1. Compile
    2. Test
    3. Assemble
    4. Run
    Tags: apache ant Add / Edit Tags