ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Janes <pet...@liberate.com>
Subject Re: [PATCH] Added "ant.target.name" property
Date Wed, 12 Sep 2001 17:03:55 GMT
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.


Mime
View raw message