ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: Adding magic properties for targets?
Date Fri, 30 May 2008 09:21:57 GMT
> Colm's patch in
> <https://issues.apache.org/bugzilla/show_bug.cgi?id=44980> adds two
> new magic properties, one for the build's default target and one for
> the targets specified on the command line (or via <*ant*>).
> 
> IIRC such properties have been suggested many moons ago and rejected,
> but now the dev community is a different one and maybe we do see some
> things differently today.  I know that I do, i.e. I'd probably add
> them today.
> 
> Before I start to discuss gritty details of a really trivial patch,
> let's have a quick poll so we know whether such a feature would be
> acceptable.  If anybody out there would reject either property, could
> you please raise your hand?


${defaultTarget}:
   +1 : I am not sure if there is need, but I dont see any reason of
hiding that information
        as it currently available via project instance.

${calledTargets}:
   +1 : Also, we dont have to hide anything. The value should be a list
of targets 
        as specified while invocation without any dependency-resolution.

These properties should be set while parsing/project-initialization, so
IDEs/programs,
which dont use the Launcher, have these properties too.


Jan
        

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


Mime
View raw message