example of using ant to drive a gcj build

Andrew Haley aph@redhat.com
Thu Jan 9 21:01:00 GMT 2003


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>


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /