ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: ant.file.{projectname} property
Date Thu, 05 Oct 2006 15:39:47 GMT
--- Peter Reilly <peter.kitt.reilly@gmail.com> wrote:

> On 10/5/06, Jan.Materne@rzf.fin-nrw.de
> <Jan.Materne@rzf.fin-nrw.de> wrote:
> > >I propose to change the logic slightly in that
> the "nameless"
> > >project will set the ant.file.null property
> always and not
> > >just when there is no current project name.
> >
> > What to do if you have multiple included projects
> without names?
> >
> >
> > a.xml:  <project/>
> > b.xml:  <project/>
> > c.xml:  <project name="master">
> >                 <import file="a.xml"/>
> >                 <import file="b.xml"/>
> >                 <echoproperties
> prefix="ant.file"/>
> >             </project>
> >
> > Jan
> Exactly as it does at the moment, silently overwrite
> ant.file.null
> Peter
> >

I think it makes more sense that nameless projects
just don't get such consideration.  A nameless project
has its targets imported with their unadorned names,
and its file and fully-qualified targets are
unavailable.  The user's omission of the project name
implies consent to this.

-Matt

> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> dev-unsubscribe@ant.apache.org
> > For additional commands, e-mail:
> dev-help@ant.apache.org
> >
> >
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> dev-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> dev-help@ant.apache.org
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message