Ant Flashcards

1
Q

What is ANT based on?

A

Java

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is ant?

A

A build and deployment tool

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are ant scripts written in?

A

XML

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is ant’s build file?

A

build.xml

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Where should build.xml reside?

A

At the base of the project directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a target?

A

A collection of tasks that you want to run as one unit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the name of a target’s dependency attribute?

A

depend

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How are dependencies separated?

A

commas

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How are variables called in ant?

A

${variable.separator} (ex: ant.version)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are variables called in ant?

A

Properties

Ex: property name=”test” value=”1 2 3”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the property file normally called?

A

build.properties

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the comment character in ant?

A

#

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the difference between XSL and CSS?

A

XSL is made to transform and render XML documents, CSS is made to change the look and formatting

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

How do you solve different XML files having the same tag names but for different concepts?

A

Using a prefix

h:table

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is a necessary attribute when using a prefix in XML?

A

A namespace attribute

h:table xmlns:h=”http://www.w3.org/TR/html4/”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

In XML, what tag is used to prevent parsing?

A

CDATA