View RSS Feed

My Java Tips

  1. Ant (an introduction)

    by , 11-19-2011 at 04:54 PM (My Java Tips)
    Ant is an open source software written in Java language. This is an Apache product. Ant is cross platform and portable. Ant is similar to make utility. It is used to automate software build processes to essentially build Java projects. However, at the same time it should be remembered that Ant is not a programming language. Ant uses XML to describe build processes. This XML file is called as build.xml.


    Ant can compile source code as well as Ant can package compiled source code and ...
  2. Running JUnit using Ant

    by , 05-21-2011 at 10:26 PM (My Java Tips)
    You may want to define build script using ant for your application. I will write about how to create ant script to run ant.

    Step 1: define ant properties

    XML Code:
    <property name="src" value="./src" />
    <property name="lib" value="./lib" />
    <property name="classes" value="./classes" />
    <property name="test.class.name" value="com.xyz.MyTestSuite" />
    ...
    Tags: ant Add / Edit Tags
    Categories
    JUnit