ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <ddevie...@gmail.com>
Subject Re: propose oncomplete value for all Tasks...
Date Mon, 06 Nov 2006 20:24:25 GMT
On 11/6/06, Stefan Bodewig <bodewig@apache.org> wrote:
> On Mon, 6 Nov 2006, Kevin Jackson <foamdino@gmail.com> wrote:
>
> > Having a free afternoon today and spotting
> > http://issues.apache.org/bugzilla/show_bug.cgi?id=28941
> >
> > in bugzilla, I think it would be a good idea to follow up with the
> > suggestion to add something like it to the tasks.
>
> +0
>
> I once hoped I could supersede functionality like this with something
> similar to MSBuild's Items.  Some tasks create items, which are simply
> references to ResourceCollections, some would accept them as input and
> some would do both.  I started a proof of concept implementation
> almost three years ago (using path instead of resource collection) but
> never came around to making it useful.

Such a "task pipeline" is much more ambitious (and interesting as a
concept). But here we're only talking about extracting information
from a task post-execute(), kinda similar to the errorproperty of
forking tasks.

A generic mechanism for "asking questions" to tasks (or beans in
general) could use ids and introsespection (a kind of IH in reverse,
operating on getFoo rather than setFoo methods), but again it's much
more than adding a compiledCount attribute to <javac>, and something a
scripting language rather than Ant should do probably. --DD

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


Mime
View raw message