Show List

Quiz - Ant - 2

55%

Public Average Score
Select the right answer for below questions:

Which attribute of the jar task specifies the name of the JAR file to be created?
jarfile
destfile
name
filename
destfile

Which Ant task is used to delete files and directories?
delete
copy
move
clean
delete

Which attribute of the delete task specifies the files and directories to be deleted?
dir
include
exclude
fileset
fileset

Which Ant task is used to run an external command or executable?
exec
run
shell
command
exec

Which attribute of the exec task specifies the command or executable to be run?
command
executable
name
program
executable

Which Ant task is used to conditionally execute tasks based on a set of conditions?
unless
switch
case
if
if

Which attribute of the if task specifies the condition to be evaluated?
condition
expr
test
boolean
test

Which Ant task is used to create a WAR file?
jar
zip
war
tar
war

Which Ant task is used to run JUnit tests?
junit
test
runtest
execute
junit

Which attribute of the junit task specifies the name of the JUnit test class to be executed?
classname
testclass
name
testname
classname

Submit
Retry
{"qz1-344559":"destfile","qz1-344560":"delete","qz1-344561":"fileset","qz1-344562":"exec","qz1-344563":"executable","qz1-344564":"if","qz1-344565":"test","qz1-344566":"war","qz1-344567":"junit","qz1-344568":"classname"}

    Leave a Comment


  • captcha text