Meta Configuration of Package ant
36
1
<package name="ant" project="SUSE:SLE-15-SP2:Update">
2
<title>Antlr Task for ant</title>
3
<description>Apache Ant is a Java-based build tool. In theory, it is kind of like
4
Make, but without Make's wrinkles.
5
6
Why another build tool when there is already make, gnumake, nmake, jam,
7
and others? Because all those tools have limitations that Ant's
8
original author could not live with when developing software across
9
multiple platforms. Make-like tools are inherently shell-based--they
10
evaluate a set of dependencies then execute commands, not unlike what
11
you would issue in a shell. This means that you can easily extend these
12
tools by using or writing any program for the OS that you are working
13
on. However, this also means that you limit yourself to the OS, or at
14
least the OS type, such as Unix, that you are working on.
15
16
Makefiles are inherently evil as well. Anybody who has worked on them
17
for any time has run into the dreaded tab problem. "Is my command not
18
executing because I have a space in front of my tab???" said the
19
original author of Ant way too many times. Tools like Jam took care of
20
this to a great degree, but still have yet another format to use and
21
remember.
22
23
Ant is different. Instead of a model where it is extended with
24
shell-based commands, Ant is extended using Java classes. Instead of
25
writing shell commands, the configuration files are XML-based, calling
26
out a target tree where various tasks are executed. Each task is run by
27
an object that implements a particular task interface.
28
29
Granted, this removes some of the expressive power that is inherent by
30
being able to construct a shell command such as `find . -name foo -exec
31
rm {}`, but it gives you the ability to be cross-platform--to work
32
anywhere and everywhere. If you really need to execute a shell command,
33
Ant has an <exec> task that allows different commands to be executed
34
based on the OS used.</description>
35
</package>
36