Exams Attended

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

ANT Interview Questions and Answers

Ques. Explain how to use clean in Ant script?
Ans. <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>
Is it helpful? Yes No

Most helpful rated by users:

©2021 WithoutBook