View RSS Feed


Apache Ant tasks

  1. Apache Portability

    by , 02-19-2012 at 09:29 AM
    Portability problems are solved by the Apache Ant. All the required actions for creation of a target are being specified as the shell commands, in Make file. All commands are platform specified. For running the Make at varying platforms, platform specific commands shall be written.

    Built in functionality is being provided largely by the Apache Ant which would be behaving similary at all platforms.

    For cleaning targets or to delete files present in class directory, this ...
  2. Sample build.xml file

    by , 02-19-2012 at 09:27 AM
    A sample of“build.xml” file is given as following, for a java program. These four targets are defined by it.
    • Clean
    • Compile
    • Clobber
    • Jar

    All these targets have an associated description.
    XML Code:
    <?xml version="1.0"?>
    <project name="Hello" default="compile">
        <target name="clean" description="remove intermediate files">
            <delete dir="classes"/>
    Tags: build file Add / Edit Tags
  3. Overview of Apache Ant Tasks

    by , 02-19-2012 at 08:54 AM
    Number of tasks is provided by Apache Ant. What could be done by each task is not predictable easily. All tasks present in Apache Ant are:

    1. Archive Tasks
    2. Compile Tasks
    3. Audit/Coverage Tasks
    4. Deployment Tasks
    5. EJB Tasks
    6. Documentation Tasks
    7. Execution Tasks
    8. SCM Tasks
    9. File Tasks
    10. Logging Tasks
    11. Java2 Extensions Tasks
    12. Miscellaneous Tasks
    13. Mail Tasks
    14. Pre-process ...