Show List

Quiz - Ant - 3

53%

Public Average Score
Select the right answer for below questions:

Which Ant task is used to create a ZIP file?
zip
jar
tar
gzip
zip

Which attribute of the zip task specifies the name of the ZIP file to be created?
zipfile
name
destfile
filename
destfile

Which Ant task is used to generate Javadoc documentation?
doc
generate-docs
javadoc
make-docs
javadoc

Which attribute of the javadoc task specifies the directory containing the Java source files to be documented?
sourcepath
srcdir
destdir
classpath
sourcepath

Which Ant task is used to generate an HTML report based on code coverage data?
junitreport
testreport
coverage
report
junitreport

Which attribute of the junitreport task specifies the location of the XML file containing code coverage data?
todir
format
styledir
infile
infile

Which Ant task is used to create a new directory?
mkdir
newdir
createdir
makedir
mkdir

Which attribute of the mkdir task specifies the name of the new directory to be created?
dir
name
path
dirname
dir

Which Ant task is used to conditionally execute tasks based on a property value?
condition
switch
case
when
when

Which attribute of the when task specifies the name of the property to be evaluated?
name
property
value
expr
property

Submit
Retry
{"qz1-573542":"zip","qz1-573543":"destfile","qz1-573544":"javadoc","qz1-573545":"sourcepath","qz1-573546":"junitreport","qz1-573547":"infile","qz1-573548":"mkdir","qz1-573549":"dir","qz1-573550":"when","qz1-573551":"property"}

    Leave a Comment


  • captcha text