Java Mailing List Archive

http://www.ant-tasks.com/

Home » Ant Developers List »

Re: Adding magic properties for targets?

Stefan Bodewig

2008-06-04

Replies: Find Java Web Hosting

Author LoginPost Reply

and one more change in plan

On Wed, 04 Jun 2008, Stefan Bodewig <bodewig@(protected):

> this is what I intend to do more or less now: take the patch from
> https://issues.apache.org/bugzilla/show_bug.cgi?id=44980 and create
> two new magic properties
>
> ant.project.default-target
> ant.project.invoked-targets
>
> which take the default target of the project tag (or an empty string
> if no default target exists) and a comma separated list of targets
> specified on the command line (or whatever happens to be in the
> targets Vector during the runBuild method of Main).

It's way easier to use whatever is in the Vector names passed to
Project#executeTargets - and should cover all IDE cases as well.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@(protected)
For additional commands, e-mail: dev-help@(protected)

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.