Show List
Quiz - Ant - 5
Select the right answer for below questions:
Which attribute of the copy task specifies the source file or directory to be copied?
file
dir
source
from
source
Which Ant task is used to delete files and directories?
delete
remove
erase
wipe
delete
Which attribute of the delete task specifies the file or directory to be deleted?
file
dir
name
target
dir
Which Ant task is used to create a JAR file?
jar
zip
gzip
pack
jar
Which attribute of the jar task specifies the name of the JAR file to be created?
name
jarfile
filename
file
jarfile
Which Ant task is used to rename a file?
rename
move
copy
replace
rename
Which attribute of the rename task specifies the source file to be renamed?
file
src
from
old
src
Which Ant task is used to execute a command on the command line?
exec
run
execute
cmd
exec
Which attribute of the exec task specifies the command to be executed?
exec
execute
command
run
command
Which Ant task is used to create a WAR file?
jar
zip
tar
war
war
Submit
Retry
{"qz1-636224":"source","qz1-636225":"delete","qz1-636226":"dir","qz1-636227":"jar","qz1-636228":"jarfile","qz1-636229":"rename","qz1-636230":"src","qz1-636231":"exec","qz1-636232":"command","qz1-636233":"war"}
Leave a Comment