Show List
Quiz - Ant - 1
Select the right answer for below questions:
What is Apache Ant?
A web application server
A scripting language
A build automation tool
A code editor
A build automation tool
What is the purpose of Ant tasks?
To automate build processes
To debug code
To create new projects
To design user interfaces
To automate build processes
Which file is used to define an Ant build process?
pom.xml
package.json
project.xml
build.xml
build.xml
What is a target in Ant?
A collection of tasks
A source code file
A directory in the file system
A library of reusable code
A collection of tasks
Which Ant task is used to compile Java source code?
compile
build
javac
make
javac
Which attribute of the javac task specifies the directory containing the Java source files?
classpath
srcdir
destdir
source
srcdir
What is a fileset in Ant?
A unit of measurement for file sizes
A version control system
A collection of files and directories
A type of Ant task
A collection of files and directories
Which Ant task is used to copy files from one location to another?
copy
move
delete
rename
copy
Which attribute of the copy task specifies the destination directory for the copied files?
todir
fromdir
srcdir
destdir
todir
Which Ant task is used to create a JAR file?
zip
jar
tar
gzip
jar
Submit
Retry
{"qz1-210805":"A build automation tool","qz1-210806":"To automate build processes","qz1-210807":"build.xml","qz1-210808":"A collection of tasks","qz1-210809":"javac","qz1-210810":"srcdir","qz1-210811":"A collection of files and directories","qz1-210812":"copy","qz1-210813":"todir","qz1-210814":"jar"}
Leave a Comment