15
ANT ANT is building tools which will be used to automate the development tasks. ANT is an open source frame work from apache software foundation (ASF) When you developing any enterprises application you need to develop two model Web model EJB model When you developing a web based application you need to do the following common task every time. 1) Delete the folder 2) Create the folder 3) Copy the files 4) Setting class path 5) Compile the java class 6) Create the war file 7) Run the java class When you do this task manually lots of file will be wasted for the development this task you can use ANT. When you developing web based application you need to follow the standard direct depending Before deployment the application into the server I need to the above structure 1 st I need to develop the application developing application means write a new file/component, modifying existing component etc developing directly structure can be any thing. Commonly used development directly structure will be as follows:------- JAR java architecture WAR web EAR enterprise “ Software required :--------------you need to download the software from apache web site. www.apache.org when you download you get the file called apache_ANT-1.6.5- bin.Zip .extract the zip you can get the following directly structure. Set the path and classpath as follows Set path=%path%;d:\b15ant-1.6.5\bin; Set classpath=%classpath%;d:\b15\ant-1.6.5\lib; Building of the application will be started by invoking ant.exe file ANT

Antu

  • Upload
    phani

  • View
    217

  • Download
    2

Embed Size (px)

DESCRIPTION

ant

Citation preview

ANT ANT is building tools which will be used to automate the development tasks. ANT is an open source frame work from apache software foundation (ASF)When ou developing an enterprises application ou need to develop two model Web model !"# modelWhen ou developing a web based application ou need to do the following common task ever time.$) %elete the folder&) 'reate the folder() 'op the files)) Setting class path*) 'ompile the +ava class,) 'reate the war file-) .un the +ava classWhen ou do this task manuall lots of file will be wasted for the development this task ou can use ANT.When ou developing web based application ou need to follow the standard direct depending #efore deploment the application into the server / need to the above structure $st / need to develop the application developing application means write a new file0component1 modifing e2isting component etc developing directl structure can be an thing. 'ommonl used development directl structure will be as follows34444444"A.+ava architectureWA. web 5!A.enterprise 5Softwarerequired 344444444444444ou need to download the software from apache web site.www.apache.orgwhen ou download ou get the file called apache6ANT4$.,.*4bin.7ip .e2tract the 8ip ou can get the following directl structure.Set the path and classpath as follows Set path9:path:;d3