CodesJava

Easy learning with example program codes

Ant build file

Ant build file:

Apache ant uses an xml file for the configuration. Default name is build.xml and should be put into the project base directory.

Commonly used

Read More
Posted in Ant   

Ant overview

What is build tool?

A build tool is utility program to automate the process of repetitive tasks like compiling source code and creating files etc. A build … Read More

Posted in Ant   

How to run junit test case using ant?

JUnit:

JUnit is an open-source unit testing framework for java programmers. It is only used for unit testing. Integration testing is done by TestNG.

How to run

Read More
Posted in Ant   

How to create war file using ant?

What is war file?

WAR stands for Web application Archive. WAR is a compressed file format like the ZIP file which includes jsp, servlet, jar and static … Read More

Posted in Ant   

How to create jar file using ant?

What is JAR file?

JAR stands for the Java ARchive. Before discussing on JAR files let us discuss about ZIP file first. A ZIP file is file … Read More

Posted in Ant   

How to use classpath in ant?

Ant provides the facility to create the classpath container which can be used later in a task. Let us understand it with the below example.

In below
Read More
Posted in Ant   


Copyright © 2019 CodesJava DMCA.com Protection Status SiteMap Reference: Java Wiki