Peter Donald wrote:

So instead of

<project name="foo" default="..." >

you would have

<project default="..." >
  <property name="name" value="foo" />

And that works fine ;) Instead of name you could even use ant.project.name as name of property and have it fully compatible ;)

So why bother naming projects, then, if the name can't actually be used anywhere? Or is that your point?


Isn't staying out of the ant.* namespace, especially in user files, a Good Thing? Sure, it's not explicitly forbidden, but since we're talking about evil programming, maybe it should be....

Peter J.
--
fix, n., v.  What one does when a problem has been reported too many
times to be ignored.
  --The New Hacker's Dictionary, 3rd ed.



Reply via email to