Exams Attended

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

ANT Interview Questions and Answers

Ques. Explain how to compile using Ant script?
Ans. <target name="compile" depends="-init">
<mkdir dir="${build.dir}/classes" />
<javac destdir="${build.dir}/classes" includeantruntime="false" debug="true" optimize="true" verbose="false" deprecation="false" source="1.5" target="1.5">
<classpath refid="classpath.base" />
<src path="${src.dir}/main/java" />
</javac>
</target>
Is it helpful? Yes No

Most helpful rated by users:

©2021 WithoutBook