Skip to main content

Posts

Showing posts with the label Build

How to Install Maven ?

Nowadays its very common for Java developers to use Maven tool for building war or ear file their applications instead of ant tool. Since Maven provides an easiest way of building and managing version of applications and relieves you from build path configurations in your eclipse ide. Of course many people knows how to configure how to download and configure maven in their machines. But I want to post it on my blog for my reference and newbies in java world. Just follow the below steps:  Make sure Java (version 1.5 or 1.6 or 1.7 ) is installed on your machine and "JAVA_HOME" variable is added to environment variable list on windows as shown below image.(Windows start -> My Compuetr-> Right Click on ->Properties ->Advanced System Settings ->System Settings-> Click on "Environment Variables") Download latest version of Maven (apache-maven-3.3.3-bin.zip) from Apache Website: http://maven.apache.org/download.cgi to the directory on you...

How To Write a Build File Using ANT?

Introduction: This is an introductory tutorial to the Ant build tool, a free tool under GNU License and is available at http://jakarta.apache.org/ant/ . Ant allows the developer to automate the repeated process involved in the development of J2EE application. Developers can easily write the script to automate the build process like compilation, archiving and deployment. It is intended for people starting out with Ant and Java development, and aims to provide enough detail to get started.   What is Ant? Ant is a platform-independent scripting tool that lets you construct your build scripts in much the same fashion as the "make" tool in C or C++. You can use a large number of built-in tasks in Ant without any customization. Some of the most important tasks and related commands are built in the Ant distribution.