Ant Flashcards
What is ANT based on?
Java
What is ant?
A build and deployment tool
What are ant scripts written in?
XML
What is ant’s build file?
build.xml
Where should build.xml reside?
At the base of the project directory
What is a target?
A collection of tasks that you want to run as one unit
What is the name of a target’s dependency attribute?
depend
How are dependencies separated?
commas
How are variables called in ant?
${variable.separator} (ex: ant.version)
What are variables called in ant?
Properties
Ex: property name=”test” value=”1 2 3”
What is the property file normally called?
build.properties
What is the comment character in ant?
#
What is the difference between XSL and CSS?
XSL is made to transform and render XML documents, CSS is made to change the look and formatting
How do you solve different XML files having the same tag names but for different concepts?
Using a prefix
h:table
What is a necessary attribute when using a prefix in XML?
A namespace attribute
h:table xmlns:h=”http://www.w3.org/TR/html4/”