Prepare Interview

Exams Attended

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address
Withoutbook LIVE Mock Interviews

ANT Interview Questions and Answers

Experienced / Expert level questions & answers

Ques 1. Explain how to use PMD validation in Ant script?

<target name="validate" depends="-init">
<mkdir dir="${build.dir}/pmd-reports" />
<pmd shortFilenames="true" rulesetfiles="${basedir}/.ruleset">
<formatter type="xml" tofile="${build.dir}/pmd-reports/report.xml" />
<fileset dir="${src.dir}/main/java/com/" includes="**/*.java" />
<fileset dir="${src.dir}/test/java" includes="**/*.java" />
</pmd>
<xslt style="${ant.home}/etc/xslt/pmd-report-per-class.xslt"
in="${build.dir}/pmd-reports/report.xml"
out="${build.dir}/pmd-reports/report.html" />
</target>

Is it helpful? Add Comment View Comments
 

Most helpful rated by users:

Related interview subjects

REST API interview questions and answers - Total 52 questions
Unix interview questions and answers - Total 105 questions
SDLC interview questions and answers - Total 75 questions
Apache Kafka interview questions and answers - Total 38 questions
Language in C interview questions and answers - Total 80 questions
ANT interview questions and answers - Total 10 questions
Nature interview questions and answers - Total 20 questions
Ruby On Rails interview questions and answers - Total 74 questions
Business Analyst interview questions and answers - Total 40 questions
Oracle APEX interview questions and answers - Total 23 questions
HTML interview questions and answers - Total 27 questions
Hadoop interview questions and answers - Total 40 questions
iOS interview questions and answers - Total 52 questions
HR Questions interview questions and answers - Total 49 questions
C++ interview questions and answers - Total 142 questions
Cryptography interview questions and answers - Total 40 questions
JSON interview questions and answers - Total 16 questions
CSS interview questions and answers - Total 74 questions
XML interview questions and answers - Total 25 questions
Ethical Hacking interview questions and answers - Total 40 questions
Android interview questions and answers - Total 14 questions
ChatGPT interview questions and answers - Total 20 questions
Data Structures interview questions and answers - Total 49 questions
Zend Framework interview questions and answers - Total 24 questions
Fashion Designer interview questions and answers - Total 20 questions
©2023 WithoutBook