Exams Attended

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

ANT Interview Questions and Answers

Ques. How to set property file in Ant script?
Ans. <!-- 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}" />
Is it helpful? Yes No

Most helpful rated by users:

©2021 WithoutBook