Most asked top Interview Questions and Answers & Online Test
Education platform for interview prep, online tests, tutorials, and live practice

Build skills with focused learning paths, mock tests, and interview-ready content.

WithoutBook brings subject-wise interview questions, online practice tests, tutorials, and comparison guides into one responsive learning workspace.

Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address
WithoutBook LIVE Mock Interviews ANT Related interview subjects: 74

Interview Questions and Answers

Know the top ANT interview questions and answers for freshers and experienced candidates to prepare for job interviews.

Total 10 questions Interview Questions and Answers

The Best LIVE Mock Interview - You should go through before interview

Know the top ANT interview questions and answers for freshers and experienced candidates to prepare for job interviews.

Interview Questions and Answers

Search a question to view the answer.

Intermediate / 1 to 5 years experienced level questions & answers

Ques 1

How to set property file in Ant script?

<!-- Import properties from build.properties -->
<property name="build.properties" value="${basedir}/conf/build.properties" />
<fail message="Missing build.properties file: please use -Dbuild.properties=/path/to/file">
<condition>
<not>
<available file="${build.properties}" type="file" />
</not>
</condition>
</fail>
<property file="${build.properties}" />
Save For Revision

Save For Revision

Bookmark this item, mark it difficult, or place it in a revision set.

Open My Learning Library
Is it helpful?
Add Comment View Comments
Ques 2

Explain how to import .jar files?

<path id="classpath.base">
<pathelement location="${glassfish.home}/lib/javaee.jar" />
<fileset dir="${lib.dir}">
<include name="log4j-1.2.15.jar" />
<include name="el-impl-1.0.jar" />
</fileset>
</path>
Save For Revision

Save For Revision

Bookmark this item, mark it difficult, or place it in a revision set.

Open My Learning Library
Is it helpful?
Add Comment View Comments
Ques 3

Explain how to use clean in Ant script?

<target name="clean" depends="-clean" />
<target name="-clean">
<delete dir="${build.dir}/*" />
<delete dir="${build.dir}/classes" />
<delete dir="${build.dir}/test-classes" />
<delete dir="${build.dir}/release" />
<delete file="${build.dir}/*.jar" />
<delete file="${build.dir}/VERSION.txt" />
</target>
Save For Revision

Save For Revision

Bookmark this item, mark it difficult, or place it in a revision set.

Open My Learning Library
Is it helpful?
Add Comment View Comments

Most helpful rated by users:

Copyright © 2026, WithoutBook.