Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

ANT%20Interview%20Questions%20and%20Answers

Question: Explain how to compile using Ant script?
Answer: <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:

©2024 WithoutBook