Right Place For Right PersonTM 
Sponsored Ads
Home Tutorials Articles Forums Source Code Books Certifications Interviews Questions
Total Questions:-26     Goto Page: 1 2 3 4 5 6

R4R --->Java-->Ant -->Ant Interview Objective Questions And Answers

Ant Interview Questions And Answers

Page 1

Question :
Give Example How we can deploy file on server using ant?
Give Your Answer

Answer:
<?xml version="1.0" ?> <project name="ProjectName" default="deploy"> .................. ................ <target name="deploy" depends="compile,doc" > <jar destfile="dist/project.jar" basedir="build/classes"/> <ftp server="${server.name}" userid="${ftp.username}" password="${ftp.password}"> <fileset dir="dist"/> </ftp> </target> ............ ........ </project>

User Name:Rajesh Kumar
Date:03.12.09

Question :
What is Core Concepts of Ant?
Give Your Answer

Answer:
The core concepts of Ant as XML format:Ant uses XML files called build files to describe how to build, test, and deploy an application Declarative syntax:Ant is declarative. Rather than spelling out the details of every stage in the build process A build file contains one project:Each XML build file includes how to build, test, and deploy one project. Very large projects may be composed of multiple smaller projects, each with its own build file. A higher-level build file can coordinate the builds of the subprojects. Each project contains multiple targets:Within the single project of a build file, you declare the different targets for the build process. These targets may represent actual outputs of the build, such as a redistributable file, or stages in the build process, such as compiling source or deploying the redistributable file to a remote server. Targets can have dependencies on other targets:When declaring a target, you can declare which targets have to be built first. This ensures that the source gets compiled before the redistributables are built, and that the redistributable is built before the remote deployment. Targets contain tasks:Inside targets you declare what actual work is needed to complete that stage of the build process. You do this by listing the tasks that constitute each stage. Each task is actually a reference to a Java class, built into Ant or an extension library, that understands the parameters in the build file and can execute the task based upon the parameters. These tasks are expected to be smart—to handle much of their own argument validation, dependency checking, and error reporting. New tasks can easily be added in Java:The fact that it is easy to extend Ant with new classes is one of its core strengths

User Name:Rajesh Kumar
Date:03.12.09

Question :
Why Ant is a great build tool?
Give Your Answer

Answer:
Ant is great build tool due to following reason: 1.Ant is a Java-based build tool designed to be cross-platform, easy to use, extensible,and scalable. 2.Ant can be used in a small personal project as well as ant can be used in a large,multi-team software project. 3.Ant syntax is very easy to learn. 4.Ant syntax used XML format .We need only specifies our task only on build.xml file. 5.Ant is easy to use .eliminating the full-time make file engineer common on large Make-based software projects. 6.It Hadlee's Java class-paths and file directory structure in a portable manner.It hand's it as cross-platform. 7.Ant is very fast.Java routines such as compiler or code make a jar file can start inside the Ant JVM.This reduce process of start up delay .Ant tasks are also designed to do dependency checking to avoid doing any more work than necassery. 8.Ant integrate tightly with the JUnit test frameworks for XP-style using tseting. 9.An Ant is easily extensible using Java. 10. Ant Ant has built-in support for J2EE development, Such as EJB compilation and packaging. 11.Ant addresses the deployment problems of Java project such as FTP,Telnet,application servers,SQL commands; all can used for automated deployment. 12.Ant is the de facto standard (is a standard formal or informal) for most open source Java projects,Such as Apache Tomcat and Apache Xerces. Many application servers even ship with embedded version of Ant for deployment. 13.As Ant understands testing and deployment,I can be used for a unified build-test-deploy process, by a single command or by use of Ant-aware Java IDE, such as NetBeans,Eclipse IDEA, and jEdit. 14.Ant can be used to control team works together to build and deploy Java project easily.

User Name:Rajesh Kumar
Date:03.12.09

Question :
What is IVY?
Give Your Answer

Answer:
Ivy is a popular dependency manager .IVY is basically focused on flexibility and simplicity. The latest version of Ivy is 2.1.0. Key features of the 2.1.0 release are •The Key features of Ivy is enhanced Maven2 compatibility, with several bug fixes and more pom features covered. •new options for the Ivy Ant tasks and commandline •configuration intersections and configuration groups •numerous bug fixes & improvements as documented in Jira and in the release notes

User Name:Rajesh Kumar
Date:01.12.09

Question :
What is advantage of Ant 1.7.1 ?
Give Your Answer

Answer:
Ant 1.7.1 is mainly a bugfix release. Ant 1.7.1 has extended support for Java6 features. Ant 1.7.1 <script> now has support for JavaFX.

User Name:Rajesh Kumar
Date:01.12.09

GoTo Page: 1 2 3 4 5 6

Ant Objective Questions And Answers

Ant Objective Questions And Answers

Ant Subjective Questions And Answers

Ant Subjective Questions And Answers

R4R,Ant Objective, Ant Subjective, Ant Interview Questions And Answers,Ant,Ant Interview,Ant Questions ,Ant Answers

R4R --->Java-->Ant -->Ant Interview Objective Questions And Answers

Contact Us
Interview Questions And Answers
Struts interview questions and answers (Subjective)
500 Java Objective Questions and Answer
Core Java Objective Questions And Answers
Core Java Subjective Questions And Answers
Core Java Interview Questions And Answers
Core Java Interview Questions and Answers (Subjective)
Core Java Interview Questions and Answers( Objective)
50 Servlet interview questions
155 Java Interview Questions
EJB Interview Questions and Answers(Subjective)
R4R,JSP Interview Questions and Answer(Subjective)
R4R,Java Servlets Interview Questions and Answers(Subjective)
Core Java Subjective ,Objective and Interview Questions And Answers
275 Core java interview questions
Java Objective Questions and Answer
Java Architect Interview Questions
Applet Interview Questions and Answers
Core Java example
Servlet Objective Questions And Answers
Servlet Subjective Questions And Answers
Servlet Interview Questions And Answers
JSP Objective Questions And Answers
JSP Subjective Questions And Answers
JSP Interview Questions And Answers
JDBC Objective Questions And Answers
JDBC Subjective Questions And Answers
JDBC Interview Questions And Answers
JDBC Interview questions and answers
Networking Interview questions and answers
Servlets Interview questions and answers
EJB Objective Questions And Answers
EJB Subjective Questions And Answers
EJB Interview Questions And Answers
Hibernate Objective Questions And Answers
Hibernate Subjective Questions And Answers
Hibernate Interview Questions And Answers
Spring Objective Questions And Answers
Spring Subjective Questions And Answers
Spring Interview Questions And Answers
Struts Objective Questions And Answers
Struts Subjective Questions And Answers
Struts Interview Questions And Answers
Ant Objective Questions And Answers
Ant Subjective Questions And Answers
Ant Interview Questions And Answers
PHP Objective Questions And Answers
PHP Subjective Questions And Answers
PHP Interview Questions And Answers 1
ASP.net Objective Questions And Answers
ASP.net Subjective Questions And Answers
ASP.net Interview Questions And Answers 1
ASP.net interview questions ,ASP.net interview answers,ASP.net interview questions and answers
PHP interview questions ,PHP interview answers,PHP interview questions and answers
Testing Objective Questions And Answers
Testing Subjective Questions And Answers
Testing Interview Questions And Answers
Ajax Tutorials
Ajax Objective Questions And Answers
Ajax Subjective Questions And Answers
Ajax Interview Questions And Answers
Linux Objective Questions And Answers
Linux Subjective Questions And Answers
Unix Subjective Questions And Answers
Unix Interview Questions And Answers
HR interview questions and answers
HR Interview Questions Tips
HR Objective Questions And Answers
HR Subjective Questions And Answers
HR Interview Questions And Answers
Learn C Language with in a day
 C /C++ Questions
C Objective Questions And Answers
C Subjective Questions And Answers
C Interview Questions And Answers
C Objective Interview Questions And Answers(10)
C Subjective Interview Questions And Answers(100) 
C syntax,semantics and simple programming questions(61) 

Linux Interview Questions And Answers
Unix Objective Questions And Answers
C Aptitude Questions(179)
C++ Interview Questions And Answers    
C++ Objective Questions And Answers
C++ Subjective Questions And Answers
C++ Interview Questions And Answers
C,C++ objective Interview Questions and answers
C Interview Questions And Answers( Objective and Subjective)
C Objective Interview Questions And Answers(10)

C Subjective Interview Questions And Answers(100)

C,C++ Interview Questions

35 C++ Interview Questions And Answers(Subjective)

109 C++ Interview Questions

Java Script Interview Question and Answer(1-10).
 Java Script Interview Question and Answer(11-20).
Java Script  Interview Question and Answer(21-30).
Java Script Interview Question and Answer(31-40).
Javascript Objective Questions And Answers
Javascript Subjective Questions And Answers
Javascript Interview Questions And Answers
MFC Interview Questions And Answers(Subjective)

MFC Interview Questions And Answers(Subjective)

ATL Interview Questions And Answers(Subjective)

COM DCOM Interview Questions And Answers(Subjective)

Win32API Interview Questions And Answers(Subjective)

ActiveX Interview Questions And Answers(Subjective)

R4R, VC++ AllOther Interview Questions And Answers(Subjective)

PL/SQL Interview Questions And Answers(Subjective)

152 PL/SQL Interview Questions And Answers(Subjective)

Asp Objective Questions And Answers
Asp Subjective Questions And Answers
Asp Interview Questions And Answers 1

VB Objective Questions And Answers

Contact US:

Your Name:


Your Email:

Message:

Comments:

Give Your Comments:

Your Name:
Your Email ID :
Comments :

Advertiser PRIVACY POLICY ||User PRIVACY POLICY || R4R Group Srvices