S
Stuff
Our build process has always used make but
more and more parts are migrating to ant,
because it seems to do the java bits better.
At this point I think we'll migrate entirely
to ant. Running all javac, java, jar, other
commands from a single vm boosts our build time
and ant integrates well with IDEs.
The newest ant release adds macro's and import's
which solve some of the worst usability problems.
I've never hated XML as much as some
people do. There are alot of good tools for working
with XML and my programmers are used to it.
I've read that the original developer thinks that
was a huge mistake, but the sucess of ant shows
he's probably wrong.
I've read posts where people blame difficulty of
use on XML, but I think its just limited verbs in
pure ant, particularly for conditionals.
I observe that the apache partitions ant
deployment into a core and a contrib set
of tasks, where the core is idealogically
pure.
I interpret ideallogically pure to mean
declaritive. You have to do cute and
clever things to get conditional or procedural
behavior into you're scripts.
So far I've been able to do everything I need in
pure ant, but I have to think too hard sometimes.
I have more confidence that the next guy wont
screw up what I've done, because he lacks easy
tools to screw up with. Its kind of smelly though.
There's a rich set of ant add-ons which make it
easy to do all kinds of procedural tasks and turn
ant into an extensible scripting language with a
rich set of open source extensions.
Extensions like 'If' and 'foreach' are obviously useful, but they
make it easy to bypass the 'pure' approach. I
haven't decided if this is a good thing or not.
Contrib tools also make it harder to google for
docs. I've read posts on this forum from people
who hate the online ant documentation, but I've
found it to be very clear, consistent and always
have useful examples.
To go even further out-of-the-box, ant allows embedding
scripting languages such as python or ruby. Anyone
ever tried this? Nice or nasty? Fast or slow?
Ant also recommends a build hierarchy. I'm curious
whether this is widely used. This is one of those
things where I think the most common approach is
better than the 'best' approach.
Anyway, before I dump this on my team, I wanted to
to get feedback and opinions on ant and usage models.
I've read RG's page on it, and found it helpful but
a little out of date. Thanks for writing it though,
strong work.
Cheers, Wibble
more and more parts are migrating to ant,
because it seems to do the java bits better.
At this point I think we'll migrate entirely
to ant. Running all javac, java, jar, other
commands from a single vm boosts our build time
and ant integrates well with IDEs.
The newest ant release adds macro's and import's
which solve some of the worst usability problems.
I've never hated XML as much as some
people do. There are alot of good tools for working
with XML and my programmers are used to it.
I've read that the original developer thinks that
was a huge mistake, but the sucess of ant shows
he's probably wrong.
I've read posts where people blame difficulty of
use on XML, but I think its just limited verbs in
pure ant, particularly for conditionals.
I observe that the apache partitions ant
deployment into a core and a contrib set
of tasks, where the core is idealogically
pure.
I interpret ideallogically pure to mean
declaritive. You have to do cute and
clever things to get conditional or procedural
behavior into you're scripts.
So far I've been able to do everything I need in
pure ant, but I have to think too hard sometimes.
I have more confidence that the next guy wont
screw up what I've done, because he lacks easy
tools to screw up with. Its kind of smelly though.
There's a rich set of ant add-ons which make it
easy to do all kinds of procedural tasks and turn
ant into an extensible scripting language with a
rich set of open source extensions.
Extensions like 'If' and 'foreach' are obviously useful, but they
make it easy to bypass the 'pure' approach. I
haven't decided if this is a good thing or not.
Contrib tools also make it harder to google for
docs. I've read posts on this forum from people
who hate the online ant documentation, but I've
found it to be very clear, consistent and always
have useful examples.
To go even further out-of-the-box, ant allows embedding
scripting languages such as python or ruby. Anyone
ever tried this? Nice or nasty? Fast or slow?
Ant also recommends a build hierarchy. I'm curious
whether this is widely used. This is one of those
things where I think the most common approach is
better than the 'best' approach.
Anyway, before I dump this on my team, I wanted to
to get feedback and opinions on ant and usage models.
I've read RG's page on it, and found it helpful but
a little out of date. Thanks for writing it though,
strong work.
Cheers, Wibble