This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: example of using ant to drive a gcj build
- From: Andrew Haley <aph at redhat dot com>
- To: Adam Megacz <gcj at lists dot megacz dot com>
- Cc: Andrew Pimlott <andrew at pimlott dot net>, java at gcc dot gnu dot org
- Date: Thu, 9 Jan 2003 21:01:51 GMT
- Subject: Re: example of using ant to drive a gcj build
- References: <86k7jukzto.fsf@nowhere.com><20030109043737.GB26805@pimlott.net><867kdek3xo.fsf@nowhere.com>
Adam Megacz writes:
>
> - The whole tab-vs-space thing, but everybody hates this, so it's not
> really worth talking about much, and emacs manages to kludge around
> this pretty well.
This tab thing is just a bug that was never fixed because there were
about twenty users of make already and it might have broken their
makefiles...
What baffles me about Ant is the choice of XML as a syntax. Even the
most enthusiastic proponents of XML (see "XML is not S-Expressions"
http://www.prescod.net/xml/sexprs.html) admit that it's not a good
syntax for writing programs in. And make is an applicative
programming language; it's not agreat one, but it does OK. I suppose
the pro case is that XML parsers are already there, but that doesn't
sound like a very strong reason unless you just want something
quickly.
Andrew.
<define name="factorial" arg="n" />
<if> <equal> "$n" "1" </equal>
<times> "$n"
<call target="factorial">
<minus> "$n" "1" </minus>
</call>
</times>
</if>
</define>